AbstractDictionary.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 AbstractDictionary(Of TKey, TVal)
Dim key As TKey
Dim value As TVal
value = instance(key)
instance(key) = value
Syntax
'Declaration
Public MustOverride Default Property Item ( _
key As TKey _
) As TVal
public abstract TVal this [
TKey key
] { get; set; }
public:
virtual property TVal default [TKey] {
TVal get (TKey key) abstract;
void set (TKey key, TVal value) abstract;
}
/** @property */
public abstract TVal get_Item (TKey key)
/** @property */
public abstract void set_Item (TKey key, TVal 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
AbstractDictionary Generic Class
AbstractDictionary Members
Microsoft.OneGet.Utility.Collections Namespace