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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.