Share via


TriTypeSortedListCollection<T, B1, B2> 클래스

Represents a collection of metadata objects that implements IMetadataCollection<T> for T, B1 and B2 types.

상속 계층

System.Object
  Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DictionaryCollectionBase<T, SortedList<String, T>>
    Microsoft.SqlServer.Management.SqlParser.MetadataProvider.SortedListCollection<T>
      Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DualTypeSortedListCollection<T, B1>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TriTypeSortedListCollection<T, B1, B2>
          Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ScalarValuedFunctionCollection
          Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TableCollection
          Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ViewCollection

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

구문

‘선언
Public Class TriTypeSortedListCollection(Of T As {Class, B1, B2}, B1 As {Class, IMetadataObject}, B2 As {Class, IMetadataObject}) _
    Inherits DualTypeSortedListCollection(Of T, B1) _
    Implements IMetadataCollection(Of B2), IEnumerable(Of B2),  _
    IEnumerable
‘사용 방법
Dim instance As TriTypeSortedListCollection(Of T, B1, B2)
public class TriTypeSortedListCollection<T, B1, B2> : DualTypeSortedListCollection<T, B1>, 
    IMetadataCollection<B2>, IEnumerable<B2>, IEnumerable 
where T : class, B1, B2
where B1 : class, IMetadataObject 
where B2 : class, IMetadataObject
generic<typename T, typename B1, typename B2>
where T : ref class, B1, B2
where B1 : ref class, IMetadataObject 
where B2 : ref class, IMetadataObject 
public ref class TriTypeSortedListCollection : public DualTypeSortedListCollection<T, B1>, 
    IMetadataCollection<B2>, IEnumerable<B2>, IEnumerable
type TriTypeSortedListCollection<'T, 'B1, 'B2 when 'T : not struct and 'B1 and 'B2 when 'B1 : not struct and IMetadataObject when 'B2 : not struct and IMetadataObject> =  
    class 
        inherit DualTypeSortedListCollection<'T, 'B1>
        interface IMetadataCollection<'B2>
        interface IEnumerable<'B2>
        interface IEnumerable 
    end
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

  • T
    The main type of elements in the collection.
  • B1
    A base class or an interface that the main type T extends or implements.
  • B2
    A base class or an interface that the main type T extends or implements.

TriTypeSortedListCollection<T, B1, B2> 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 TriTypeSortedListCollection<T, B1, B2> Initializes a new instance of the TriTypeSortedListCollection class that uses the specified capacity and CollationInfo object.

맨 위로 이동

속성

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

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds an object to the collection using its name as the key. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 AddRange Adds the elements in the specified collection to this collection. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 Clear Removes all elements from the collection. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 Clone() Creates an IMutableMetadataCollection<T> object that is a copy of this object, except for the elements. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 Clone(Boolean) Creates an IMutableMetadataCollection<T> object that is a copy of this object and, if specified, also copies the elements. (SortedListCollection<T>에서 상속됨)
공용 메서드 Contains(String) Determines whether the specified element is in the collection. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 FindAll(Predicate<T>) Finds all elements in the collection that match the conditions defined by the specified predicate. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 FindAll(String) Finds all elements in the collection that have the specified name. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 GetEnumerator Returns an enumerator that iterates through the collection. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Remove(String) Removes the object with the specified name from the collection. (DictionaryCollectionBase<T, U>에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IEnumerable<B>.GetEnumerator() Returns an enumerator that iterates through the collection. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IEnumerable<IMetadataObject>.GetEnumerator() Returns an enumerator that iterates through the collection. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IEnumerable<B2>.GetEnumerator() Returns an enumerator that iterates through the collection.
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.
명시적 인터페이스 구현전용 속성 IMetadataCollection<B>.AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<B2>.AsMetadataObjectCollection Gets an IMetadataCollection<T> object that contains this collection.
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B>.Contains(String) Determines whether the collection contains the specified element. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IMetadataCollection<IMetadataObject>.Contains(String) Determines whether the collection contains an element that has the specified name. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B2>.Contains(String) Determines whether the collection contains an element that has the specified name.
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B2>.Contains(B2) Determines whether the collection contains the specified object.
명시적 인터페이스 구현전용 메서드 IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) Determines whether the collection contains the specified object. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<B>.Count Gets the number of elements in the collection. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<IMetadataObject>.Count Gets the number of elements in the collection. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<B2>.Count Gets the number of elements in the collection.
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B>.FindAll(Predicate<B>) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B>.FindAll(String) Retrieves all elements in the collection that have the specified name. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IMetadataCollection<IMetadataObject>.FindAll(String) Retrieves all elements in the collection that have the specified name. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B2>.FindAll(Predicate<B2>) Retrieves all elements in the collection that match the conditions defined by the specified predicate.
명시적 인터페이스 구현전용 메서드 IMetadataCollection<B2>.FindAll(String) Retrieves all elements in the collection that have the specified name.
명시적 인터페이스 구현전용 메서드 IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) Retrieves all elements in the collection that match the conditions defined by the specified predicate. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<T>.Item[String] Gets the specified element from the collection. (DictionaryCollectionBase<T, U>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<B>.Item[String] Gets the specified element from the collection. (DualTypeSortedListCollection<T, B>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<IMetadataObject>.Item[String] Gets the element that has the specified name. (SortedListCollection<T>에서 상속됨)
명시적 인터페이스 구현전용 속성 IMetadataCollection<B2>.Item[String] Gets the element that has the specified name.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

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