共用方式為


DeployedServiceReplicaList Class

Definition

Contains list of deployed service replica.

public sealed class DeployedServiceReplicaList : System.Collections.Generic.ICollection<System.Fabric.Query.DeployedServiceReplica>, System.Collections.Generic.IEnumerable<System.Fabric.Query.DeployedServiceReplica>, System.Collections.Generic.IList<System.Fabric.Query.DeployedServiceReplica>
type DeployedServiceReplicaList = class
    interface IList<DeployedServiceReplica>
    interface ICollection<DeployedServiceReplica>
    interface seq<DeployedServiceReplica>
    interface IEnumerable
Public NotInheritable Class DeployedServiceReplicaList
Implements ICollection(Of DeployedServiceReplica), IEnumerable(Of DeployedServiceReplica), IList(Of DeployedServiceReplica)
Inheritance
DeployedServiceReplicaList
Implements

Properties

Count

Gets the number of service replica.

IsReadOnly

Gets a value indicating whether the collection is read-only.

Item[Int32]

Gets an element at the specified index.

Methods

Add(DeployedServiceReplica)

Adds an item to the collection.

Clear()

Removes all items from the collection.

Contains(DeployedServiceReplica)

Determines whether the collection contains a specific value.

CopyTo(DeployedServiceReplica[], Int32)

Copies items from this list to the specified array starting at the specified index.

GetEnumerator()

Gets an enumerator to items in this list.

IndexOf(DeployedServiceReplica)

Gets the index of specified item in this list.

Insert(Int32, DeployedServiceReplica)

Inserts an item at the specified index.

Remove(DeployedServiceReplica)

Removes the first occurrence of a specific item from the collection.

RemoveAt(Int32)

Removes the item at the specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Retrieves an enumerator that iterates through the collection.

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to