SortedListCollection<T> Class
Represents a collection of metadata objects that uses a T:System.Collections.Generic.SortedList`1 object as the underlying container.
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::DictionaryCollectionBase<T, U>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::SortedListCollection<T>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::ConstraintCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::DatabaseDdlTriggerCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::DmlTriggerCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::DualTypeSortedListCollection<T, B>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::IndexCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::ServerDdlTriggerCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::StatisticsCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::SynonymCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::TabularCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider::UserDefinedAggregateCollection
generic<typename T> where T : ref class, IMetadataObject public ref class SortedListCollection : DictionaryCollectionBase<T, SortedList<String^, T>^>, IMetadataCollection<IMetadataObject^>, IEnumerable<IMetadataObject^>, IEnumerable
Type Parameters
- T
The type of the elements in the collection, constrained to IMetadataObject.
| Name | Description | |
|---|---|---|
![]() | SortedListCollection<T>(Int32, CollationInfo^) | Initializes a new instance of the T:Microsoft.SqlServer.Management.SqlParser.MetadataProvider.SortedListCollection class that uses the specified capacity and collation information. |
| Name | Description | |
|---|---|---|
![]() | AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection.(Overrides DictionaryCollectionBase<T, U>::AsMetadataObjectCollection.) |
![]() | Count | Gets the number of elements in the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Item[String^] | Gets or sets the object in the collection that has the specified name.(Inherited from DictionaryCollectionBase<T, U>.) |
| Name | Description | |
|---|---|---|
![]() | Add(T) | Adds an object to the collection using its name as the key.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | AddRange(IEnumerable<T>^) | Adds the elements in the specified collection to this collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Clear() | Removes all elements from the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Clone() | Creates an IMutableMetadataCollection<T> object that is a copy of this object, except for the elements.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Clone(Boolean) | Creates an IMutableMetadataCollection<T> object that is a copy of this object and, if specified, also copies the elements.(Overrides DictionaryCollectionBase<T, U>::Clone(Boolean).) |
![]() | Contains(String^) | Determines whether the specified element is in the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Contains(String^) | Determines whether the specified element is in the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindAll(Predicate<T>^) | Finds all elements in the collection that match the conditions defined by the specified predicate.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | FindAll(String^) | Finds all elements in the collection that have the specified name.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(String^) | Removes the object with the specified name from the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | Remove(String^) | Removes the object with the specified name from the collection.(Inherited from DictionaryCollectionBase<T, U>.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IMetadataCollection<IMetadataObject^>::Contains(IMetadataObject^) | Determines whether the collection contains the specified object. |
![]() ![]() | IMetadataCollection<IMetadataObject^>::Contains(String^) | Determines whether the collection contains the specified element. |
![]() ![]() | IMetadataCollection<IMetadataObject^>::FindAll(Predicate<IMetadataObject^>^) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. |
![]() ![]() | IMetadataCollection<IMetadataObject^>::FindAll(String^) | Retrieves all elements in the collection that have the specified name. |
![]() ![]() | IEnumerable<IMetadataObject^>::GetEnumerator() | Returns an enumerator that iterates through the collection. |
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that iterates through the collection. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




