ReadOnlyDictionary45<TKey,TValue> Class
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.
Read-only wrapper for another generic dictionary.
[System.Serializable]
public class ReadOnlyDictionary45<TKey,TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.Generic.IDictionary<TKey,TValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>, System.Collections.IDictionary
[<System.Serializable>]
type ReadOnlyDictionary45<'Key, 'Value> = class
interface IDictionary<'Key, 'Value>
interface ICollection<KeyValuePair<'Key, 'Value>>
interface seq<KeyValuePair<'Key, 'Value>>
interface IEnumerable
interface IDictionary
interface ICollection
Public Class ReadOnlyDictionary45(Of TKey, TValue)
Implements ICollection(Of KeyValuePair(Of TKey, TValue)), IDictionary, IDictionary(Of TKey, TValue), IEnumerable(Of KeyValuePair(Of TKey, TValue))
- TKey
Type to be used for keys.
- TValue
Type to be used for values
- Inheritance
-
ReadOnlyDictionary45<TKey,TValue>
- Attributes
- Implements
-
ICollection<KeyValuePair<TKey,TValue>> IDictionary<TKey,TValue> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> ICollection IDictionary IEnumerable
Read |
Creates an instance of ReadOnlyDictionary45 weeded with a supplied IDictionary |
Count |
The count of items in the dictionary |
Dictionary |
The dictionary |
Item[TKey] |
Enables accessing values by indexing with a key |
Keys |
They keys in the dictionary |
Values |
The values in the dictionary |
Contains |
Reports whether a key exists in the dictionary |
Get |
Returns an enumerator that iterates through the dictionary. |
Try |
Gets the value of the specified key, if exists |
Get |
Gets or adds the value associated with specified key. |
Get |
Gets the value associated with specified key. |
To |
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections. |
Add |
|
As |
Product | Versies |
---|---|
Azure SDK for .NET | Legacy, Latest |
Azure SDK for .NET-feedback
Azure SDK for .NET is een open source project. Selecteer een koppeling om feedback te geven: