ReadOnlyDictionary<TKey, TValue>.IDictionary<TKey, TValue>.Item Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.TestTools.Framework
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Private Property Item ( _
    key As TKey _
) As TValue Implements IDictionary(Of TKey, TValue).Item
    Get
    Set
'Usage
Dim instance As ReadOnlyDictionary
Dim key As TKey
Dim value As TValue

value = CType(instance, IDictionary(Of TKey, TValue)).Item(key)

CType(instance, IDictionary(Of TKey, TValue)).Item(key) = value
TValue IDictionary<TKey, TValue>.this[
    TKey key
] { get; set; }
private:
virtual property TValue Item[TKey key] {
    TValue get (TKey key) sealed = IDictionary<TKey, TValue>::Item::get;
    void set (TKey key, TValue value) sealed = IDictionary<TKey, TValue>::Item::set;
}
JScript does not support explicit interface implementations.
private abstract Item : 'TValue with get, set
private override Item : 'TValue with get, set

Parameters

Property Value

Type: TValue

Implements

IDictionary<TKey, TValue>.Item[TKey]

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

ReadOnlyDictionary<TKey, TValue> Members

Microsoft.VisualStudio.TestTools.Framework Namespace