Export (0) Print
Expand All

IReadOnlyDictionary<K, T> Interface

Defines properties and methods for the generic type read-only collection of key/value pairs.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

[DefaultMemberAttribute("Item")]
public interface IReadOnlyDictionary<K, T> : IReadOnlyCollection<T>, 
	IReadOnlyCollection, IEnumerable<T>, IEnumerable

Type Parameters

K

The type of keys in the dictionary.

T

The type of values in the dictionary.

The IReadOnlyDictionary<K, T> type exposes the following members.

  NameDescription
Public propertyCountGets the number of items that are contained in the collection. (Inherited from IReadOnlyCollection.)
Public propertyItemGets the value associated with the specified key.
Public propertyKeysGets the enumeration object containing the keys of the dictionary.
Public propertyValuesGets the enumeration object containing the values of the dictionary.
Top

  NameDescription
Public methodContainsDetermines whether the specified item is contained in the collection. (Inherited from IReadOnlyCollection<T>.)
Public methodContainsKeyDetermines whether the element with the specified key is contained in the dictionary.
Public methodCopyToCopies the elements of the collection to the specified array, starting at a particular array index. (Inherited from IReadOnlyCollection<T>.)
Public methodGetEnumerator (Inherited from IEnumerable<T>.)
Public methodTryGetValueGets the value associated with the specified key.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft