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)

[DefaultMemberAttribute("Item")]
public interface IMetadataCollection<T> : IEnumerable<T>, 
	IEnumerable 
where T : IMetadataObject

Type Parameters

T

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

The IMetadataCollection<T> type exposes the following members.

  NameDescription
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.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft