SfcReferenceCollection<K, T, S> Class
Represents the base for all domain collections.
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
generic<typename K, typename T, typename S> where K : Object, IComparable<K> where T : SfcInstance where S : SfcInstance [DefaultMemberAttribute("Item")] public ref class SfcReferenceCollection abstract : IReadOnlyDictionary<K, T>, IReadOnlyCollection<T>, IReadOnlyCollection, IEnumerable<T>, IEnumerable, IListSource
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.
| Name | Description | |
|---|---|---|
![]() | SfcReferenceCollection<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. |
| Name | Description | |
|---|---|---|
![]() | Contains(T) | Determines whether this collection contains an element with the specified value. |
![]() | ContainsKey(K) | Determines whether SfcReferenceCollection<K, T, S> contains an element with the specified key. |
![]() | CopyTo(array<T>^, Int32) | Copies the elements of this collection to the specified array, starting at specified index. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through a collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetKeyFromValue(T) | Obtains a key from the item value. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Refresh() | Renews the inner collection storage and resolves to fill it. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryGetValue(K, T%) | Gets the value associated with the specified key. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable<T>::GetEnumerator() | Returns an enumerator that iterates through a collection. |
![]() ![]() | IListSource::GetList() | Creates a list of values from the collection that can be accessed by index, sorted, and searched. |
![]() ![]() | IListSource::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.





