DictionaryCollection<T> 클래스
Represents a collection of metadata objects that uses an Dictionary object as the underlying container.
상속 계층
System.Object
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DictionaryCollectionBase<T, Dictionary<String, T>>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DictionaryCollection<T>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.BuiltInFunctionCollection
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DatePartCollection
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Public Class DictionaryCollection(Of T As {Class, IMetadataObject}) _
Inherits DictionaryCollectionBase(Of T, Dictionary(Of String, T)) _
Implements IMetadataCollection(Of IMetadataObject), IEnumerable(Of IMetadataObject), _
IEnumerable
‘사용 방법
Dim instance As DictionaryCollection(Of T)
public class DictionaryCollection<T> : DictionaryCollectionBase<T, Dictionary<string, T>>,
IMetadataCollection<IMetadataObject>, IEnumerable<IMetadataObject>, IEnumerable
where T : class, IMetadataObject
generic<typename T>
where T : ref class, IMetadataObject
public ref class DictionaryCollection : public DictionaryCollectionBase<T, Dictionary<String^, T>^>,
IMetadataCollection<IMetadataObject^>, IEnumerable<IMetadataObject^>, IEnumerable
type DictionaryCollection<'T when 'T : not struct and IMetadataObject> =
class
inherit DictionaryCollectionBase<'T, Dictionary<string, 'T>>
interface IMetadataCollection<IMetadataObject>
interface IEnumerable<IMetadataObject>
interface IEnumerable
end
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
The type of the elements in the collection, constrained to IMetadataObject.
DictionaryCollection<T> 유형에서 다음 멤버를 표시합니다.
생성자
이름 | 설명 | |
---|---|---|
DictionaryCollection<T> | Initializes a new instance of the DictionaryCollection class that uses the specified capacity and collation information. |
맨 위로 이동
속성
이름 | 설명 | |
---|---|---|
AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. (DictionaryCollectionBase<T, U>.AsMetadataObjectCollection을(를) 재정의함) | |
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. (DictionaryCollectionBase<T, U>.Clone(Boolean)을(를) 재정의함) | |
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<IMetadataObject>.GetEnumerator | Returns an enumerator that iterates through the collection. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through the collection. | |
IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. | |
IMetadataCollection<IMetadataObject>.Contains(String) | Determines whether the collection contains the specified element. | |
IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) | Determines whether the collection contains the specified object. | |
IMetadataCollection<IMetadataObject>.Count | Gets the number of elements in the collection. | |
IMetadataCollection<IMetadataObject>.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. | |
IMetadataCollection<IMetadataObject>.Item[String] | Gets the specified element from the collection. | |
IMetadataCollection<T>.Item[String] | Gets the specified element from the collection. (DictionaryCollectionBase<T, U>에서 상속됨) |
맨 위로 이동
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스