Partager via


ReadOnlyDictionary<TKey, TValue>.Item Property

Gets the value that is paired to the specified key.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Déclaration
Public ReadOnly Default Property Item ( _
    key As TKey _
) As TValue
    Get
public TValue this[
    TKey key
] { get; }
public:
property TValue default[TKey key] {
    TValue get (TKey key);
}
member Item : 'TValue
JScript does not support indexed properties.

Parameters

  • key
    Type: TKey
    The key for which to get the value.

Property Value

Type: TValue
The value that is paired with the key.

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace