IReadOnlyDictionary<K,T> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a generic read-only collection of key/value pairs.
public interface IReadOnlyDictionary<K,T> : Microsoft.SqlServer.Management.Sdk.Sfc.IReadOnlyCollection<T>, System.Collections.Generic.IEnumerable<T>
type IReadOnlyDictionary<'K, 'T> = interface
interface IReadOnlyCollection<'T>
interface IReadOnlyCollection
interface IEnumerable
interface seq<'T>
Public Interface IReadOnlyDictionary(Of K, T)
Implements IEnumerable(Of T), IReadOnlyCollection(Of T)
Type Parameters
- K
The type of keys in the dictionary.
- T
The type of values in the dictionary.
- Derived
- Implements
Properties
Count |
Gets the number of items contained in the IReadOnlyCollection. (Inherited from IReadOnlyCollection) |
Item[K] |
Gets the value with the specified key. |
Keys |
Gets an IEnumerable<T> containing the keys of the IReadOnlyDictionary<K,T>. |
Values |
Gets an IEnumerable<T> containing the values of the IReadOnlyDictionary<K,T>. |
Methods
Contains(T) |
Determines whether the collection contains a specific value. (Inherited from IReadOnlyCollection<T>) |
ContainsKey(K) |
Determines whether the IReadOnlyDictionary<K,T> contains an element with the specified key. |
CopyTo(T[], Int32) |
Copies the elements of the collection to an array, starting at a particular array index. (Inherited from IReadOnlyCollection<T>) |
TryGetValue(K, T) |
Gets the value associated with the specified key. |