IMetadataCollection<T> 인터페이스

Defines size, enumerators, lookup and filtering methods for all metadata object collections. The interface provides read-only access to the elements in the collection.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Interface IMetadataCollection(Of T As IMetadataObject) _
    Inherits IEnumerable(Of T), IEnumerable
‘사용 방법
Dim instance As IMetadataCollection(Of T)
public interface IMetadataCollection<T> : IEnumerable<T>, 
    IEnumerable 
where T : IMetadataObject
generic<typename T>
where T : IMetadataObject 
public interface class IMetadataCollection : IEnumerable<T>, 
    IEnumerable
type IMetadataCollection<'T when 'T : IMetadataObject> =  
    interface 
        interface IEnumerable<'T>
        interface IEnumerable 
    end
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

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

IMetadataCollection<T> 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection.
공용 속성 Count Gets the number of elements in the collection.
공용 속성 Item Gets the element in the collection by name.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Contains(String) Determines whether the collection contains an element that has the specified name.
공용 메서드 Contains(T) Determines whether the collection contains the specified object.
공용 메서드 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 (IEnumerable<T>에서 상속됨)

맨 위로 이동

참고 항목

참조

Microsoft.SqlServer.Management.SqlParser.Metadata 네임스페이스