Export (0) Print
Expand All

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.

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

public interface IMetadataCollection<T> : IEnumerable<T>, 
where T : IMetadataObject

Type Parameters


The type of the elements in the collection, constrained to IMetadataObject.

The IMetadataCollection<T> type exposes the following members.

Public propertyAsMetadataObjectCollectionGets an IMetadataCollection<T> object that contains this collection.
Public propertyCountGets the number of elements in the collection.
Public propertyItemGets the element in the collection by name.

Public methodContains(String)Determines whether the collection contains an element that has the specified name.
Public methodContains(T)Determines whether the collection contains the specified object.
Public methodFindAll(Predicate<T>)Retrieves all elements in the collection that match the conditions defined by the specified predicate.
Public methodFindAll(String)Retrieves all elements in the collection that have the specified name.
Public methodGetEnumerator (Inherited from IEnumerable<T>.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft