Export (0) Print
Expand All

DualTypeSortedListCollection<T, B> Class

 

Applies To: SQL Server 2016 Preview

Represents a collection of metadata objects that implements IMetadataCollection<T> for T and B types.

Namespace:   Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

System.Object
  Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DictionaryCollectionBase<T, U>
    Microsoft.SqlServer.Management.SqlParser.MetadataProvider.SortedListCollection<T>
      Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DualTypeSortedListCollection<T, B>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ApplicationRoleCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.AsymmetricKeyCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.CertificateCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ColumnCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.CredentialCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.CursorVariableCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DatabaseCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DatabaseRoleCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ExtendedStoredProcedureCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.LoginCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ScalarVariableCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.SchemaCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.StoredProcedureCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TableValuedFunctionCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TableVariableCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TriTypeSortedListCollection<T, B1, B2>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UdtMemberCollectionBase<T>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserDefinedClrTypeCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserDefinedDataTypeCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserDefinedTableTypeCollection

public class DualTypeSortedListCollection<T, B> : SortedListCollection<T>, 
	IMetadataCollection<B>, IEnumerable<B>, IEnumerable
where T : class, B
where B : class, IMetadataObject

Type Parameters

T

The main type of elements in the collection.

B

A base class or an interface that the main type T extends or implements.

NameDescription
System_CAPS_pubmethodDualTypeSortedListCollection<T, B>(Int32, CollationInfo)

Initializes a new instance of the T:Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DualTypeSortedListCollection`1 class that uses the specified capacity and CollationInfo object.

NameDescription
System_CAPS_pubpropertyAsMetadataObjectCollection

Gets an IMetadataCollection<T> object that contains this collection.(Inherited from SortedListCollection<T>.)

System_CAPS_pubpropertyCount

Gets the number of elements in the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubpropertyItem[String]

Gets or sets the object in the collection that has the specified name.(Inherited from DictionaryCollectionBase<T, U>.)

NameDescription
System_CAPS_pubmethodAdd(T)

Adds an object to the collection using its name as the key.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodAddRange(IEnumerable<T>)

Adds the elements in the specified collection to this collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodClear()

Removes all elements from the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodClone()

Creates an IMutableMetadataCollection<T> object that is a copy of this object, except for the elements.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodClone(Boolean)

Creates an IMutableMetadataCollection<T> object that is a copy of this object and, if specified, also copies the elements.(Inherited from SortedListCollection<T>.)

System_CAPS_pubmethodContains(String)

Determines whether the specified element is in the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodContains(String)

Determines whether the specified element is in the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindAll(Predicate<T>)

Finds all elements in the collection that match the conditions defined by the specified predicate.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodFindAll(String)

Finds all elements in the collection that have the specified name.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(String)

Removes the object with the specified name from the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodRemove(String)

Removes the object with the specified name from the collection.(Inherited from DictionaryCollectionBase<T, U>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft