DelegateDictionary.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 DelegateDictionary(Of TKey, TVal)
Dim key As TKey
Dim value As TVal

value = instance(key)

instance(key) = value

Syntax

'Declaration
Public Overrides Default Property Item ( _
    key As TKey _
) As TVal
public override TVal this [
    TKey key
] { get; set; }
public:
virtual property TVal default [TKey] {
    TVal get (TKey key) override;
    void set (TKey key, TVal value) override;
}
/** @property */
public TVal get_Item (TKey key)

/** @property */
public 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

DelegateDictionary Generic Class
DelegateDictionary Members
Microsoft.OneGet.Utility.Collections Namespace