共用方式為


ProvisionedFabricCodeVersionList Class

Definition

Represents a list of provisioned Service Fabric code versions retrieved by calling GetProvisionedFabricConfigVersionListAsync().

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

Properties

Count

Gets or sets the number of items in this list.

IsReadOnly

Gets or sets a flag that indicates whether the list is read only.

Item[Int32]

Gets the item at the specified index.

Methods

Add(ProvisionedFabricCodeVersion)

Adds the specified item to the list.

Clear()

Removes all items from the list.

Contains(ProvisionedFabricCodeVersion)

Indicates whether the list contains a specified item.

CopyTo(ProvisionedFabricCodeVersion[], Int32)

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

GetEnumerator()

Gets an enumerator to items in this list.

IndexOf(ProvisionedFabricCodeVersion)

Gets the index of the specified item in this list.

Insert(Int32, ProvisionedFabricCodeVersion)

Inserts the item at the specified index.

Remove(ProvisionedFabricCodeVersion)

Remove the specified item from this list

RemoveAt(Int32)

Removes the item at the specified index

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator for items in this list

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