IMutableMetadataCollection<T> 인터페이스

Defines methods to manipulate collections of objects that implement the IMetadataObject interface.

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

구문

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

유형 매개 변수

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

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

속성

  이름 설명
공용 속성 AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection. (IMetadataCollection<T>에서 상속됨)
공용 속성 Count Gets the number of elements in the collection. (IMetadataCollection<T>에서 상속됨)
공용 속성 Item Gets or sets the element in the collection by name.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds an element to the end of the collection.
공용 메서드 AddRange Adds the elements in the specified collection to the end of this collection.
공용 메서드 Clear Removes all elements from the collection.
공용 메서드 Clone() Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements.
공용 메서드 Clone(Boolean) Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements.
공용 메서드 Contains(String) Determines whether the collection contains an element that has the specified name. (IMetadataCollection<T>에서 상속됨)
공용 메서드 FindAll(Predicate<T>) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (IMetadataCollection<T>에서 상속됨)
공용 메서드 FindAll(String) Retrieves all elements in the collection that have the specified name. (IMetadataCollection<T>에서 상속됨)
공용 메서드 GetEnumerator (IEnumerable<T>에서 상속됨)
공용 메서드 Remove(String) Removes the first element that has the specified name from the collection.
공용 메서드 Remove(T) Removes the first occurrence of a specific object from the collection.

맨 위로 이동

참고 항목

참조

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