SfcReferenceCollection<K, T, S> Class

 

Represents the base for all domain collections.

Namespace:   Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcReferenceCollection<K, T, S>

[DefaultMemberAttribute("Item")]
public abstract class SfcReferenceCollection<K, T, S> : IReadOnlyDictionary<K, T>, 
	IReadOnlyCollection<T>, IReadOnlyCollection, IEnumerable<T>, 
	IEnumerable, IListSource
where K : object, IComparable<K>
where T : SfcInstance
where S : SfcInstance

Type Parameters

K

The key type of the target collection.

T

The element type of the target collection.

S

The type of the collection owner.

NameDescription
System_CAPS_protmethodSfcReferenceCollection<K, T, S>(S, ISfcReferenceCollectionResolver<T, S>, IComparer<K>)

Initializes a new instance of the SfcReferenceCollection<K, T, S> class using the specified owner, resolver, and comparer.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements contained in the collection.

System_CAPS_pubpropertyItem[K]

Gets the element associated with the specified key.

System_CAPS_pubpropertyKeys

Gets the collection of keys contained in this collection.

System_CAPS_pubpropertyValues

Gets the collection of values contained in this collection.

NameDescription
System_CAPS_pubmethodContains(T)

Determines whether this collection contains an element with the specified value.

System_CAPS_pubmethodContainsKey(K)

Determines whether SfcReferenceCollection<K, T, S> contains an element with the specified key.

System_CAPS_pubmethodCopyTo(T[], Int32)

Copies the elements of this collection to the specified array, starting at specified index.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetKeyFromValue(T)

Obtains a key from the item value.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRefresh()

Renews the inner collection storage and resolves to fill it.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(K, T)

Gets the value associated with the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<T>.GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIListSource.GetList()

Creates a list of values from the collection that can be accessed by index, sorted, and searched.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIListSource.ContainsListCollection

Gets a value indicating whether the collection is a collection of IList objects.

This class abstracts all the necessary handshaking between the parent object, and the collection or element objects.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: