DualTypeSortedListCollection<T, B> 클래스

Represents a collection of metadata objects that implements IMetadataCollection<T> for T and B 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, B>
        추가 정보...

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

구문

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

유형 매개 변수

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

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

생성자

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

맨 위로 이동

스레드 보안

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

참고 항목

참조

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

상속 계층

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, B>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ApplicationRoleCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.AsymmetricKeyCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.CertificateCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ColumnCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.CredentialCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.CursorVariableCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DatabaseCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DatabaseRoleCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ExtendedStoredProcedureCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.LoginCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.ScalarVariableCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.SchemaCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.StoredProcedureCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TableValuedFunctionCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TableVariableCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.TriTypeSortedListCollection<T, B1, B2>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UdtMemberCollectionBase<T>
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserDefinedClrTypeCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserDefinedDataTypeCollection
        Microsoft.SqlServer.Management.SqlParser.MetadataProvider.UserDefinedTableTypeCollection