IMetadataCollection<T> Interface
Defines size, enumerators, lookup and filtering methods for all metadata object collections. The interface provides read-only access to the elements in the collection.
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
generic<typename T> where T : IMetadataObject [DefaultMemberAttribute("Item")] public interface class IMetadataCollection : IEnumerable<T>, IEnumerable
Type Parameters
- T
The type of the elements in the collection, constrained to IMetadataObject.
| Name | Description | |
|---|---|---|
![]() | AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. |
![]() | Count | Gets the number of elements in the collection. |
![]() | Item[String^] | Gets the element in the collection by name. |
| Name | Description | |
|---|---|---|
![]() | Contains(T) | Determines whether the collection contains the specified object. |
![]() | Contains(String^) | Determines whether the collection contains an element that has the specified name. |
![]() | FindAll(Predicate<T>^) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. |
![]() | FindAll(String^) | Retrieves all elements in the collection that have the specified name. |
![]() | GetEnumerator() | (Inherited from IEnumerable<T>.) |

