OrderedDictionary.Item Property
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)
Usage
'Usage
Dim instance As OrderedDictionary(Of TKey, TValue)
Dim key As TKey
Dim value As TValue
value = instance(key)
instance(key) = value
Syntax
'Declaration
Public Default Property Item ( _
key As TKey _
) As TValue
public TValue this [
TKey key
] { get; set; }
public:
virtual property TValue default [TKey] {
TValue get (TKey key) sealed;
void set (TKey key, TValue value) sealed;
}
/** @property */
public final TValue get_Item (TKey key)
/** @property */
public final void set_Item (TKey key, TValue value)
Parameters
- key
Property Value
Returns Boolean.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
OrderedDictionary Generic Class
OrderedDictionary Members
Microsoft.OneGet.Utility.Collections Namespace