次の方法で共有


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

'Declaration
Public ReadOnly Property Item ( _
    key As TKey _
) As TValue
public TValue this[
    TKey key
] { get; }
public:
property TValue Item[TKey key] {
    TValue get (TKey key);
}
member Item : 
        key:'TKey -> 'TValue with get
JScript does not support indexed properties.

Parameters

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