IReadOnlyDictionary<K, T> 인터페이스
Defines properties and methods for the generic type read-only collection of key/value pairs.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Interface IReadOnlyDictionary(Of K, T) _
Inherits IReadOnlyCollection(Of T), IReadOnlyCollection, IEnumerable(Of T), _
IEnumerable
‘사용 방법
Dim instance As IReadOnlyDictionary(Of K, T)
public interface IReadOnlyDictionary<K, T> : IReadOnlyCollection<T>,
IReadOnlyCollection, IEnumerable<T>, IEnumerable
generic<typename K, typename T>
public interface class IReadOnlyDictionary : IReadOnlyCollection<T>,
IReadOnlyCollection, IEnumerable<T>, IEnumerable
type IReadOnlyDictionary<'K, 'T> =
interface
interface IReadOnlyCollection<'T>
interface IReadOnlyCollection
interface IEnumerable<'T>
interface IEnumerable
end
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- K
The type of keys in the dictionary.
- T
The type of values in the dictionary.
IReadOnlyDictionary<K, T> 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
Count | Gets the number of items that are contained in the collection. (IReadOnlyCollection에서 상속됨) | |
Item | Gets the value associated with the specified key. | |
Keys | Gets the enumeration object containing the keys of the dictionary. | |
Values | Gets the enumeration object containing the values of the dictionary. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Contains | Determines whether the specified item is contained in the collection. (IReadOnlyCollection<T>에서 상속됨) | |
ContainsKey | Determines whether the element with the specified key is contained in the dictionary. | |
CopyTo | Copies the elements of the collection to the specified array, starting at a particular array index. (IReadOnlyCollection<T>에서 상속됨) | |
GetEnumerator | (IEnumerable<T>에서 상속됨) | |
TryGetValue | Gets the value associated with the specified key. |
맨 위로 이동