Export (0) Print
Expand All

IMetadataCollection<T> Interface

 

Applies To: SQL Server 2016 Preview

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.

NameDescription
System_CAPS_pubpropertyAsMetadataObjectCollection

Gets an IMetadataCollection<T> object that contains this collection.

System_CAPS_pubpropertyCount

Gets the number of elements in the collection.

System_CAPS_pubpropertyItem[String]

Gets the element in the collection by name.

NameDescription
System_CAPS_pubmethodContains(T)

Determines whether the collection contains the specified object.

System_CAPS_pubmethodContains(String)

Determines whether the collection contains an element that has the specified name.

System_CAPS_pubmethodFindAll(Predicate<T>)

Retrieves all elements in the collection that match the conditions defined by the specified predicate.

System_CAPS_pubmethodFindAll(String)

Retrieves all elements in the collection that have the specified name.

System_CAPS_pubmethodGetEnumerator()

(Inherited from IEnumerable<T>.)

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft