OrderedDictionary.ContainsKey Method

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 returnValue As Boolean

returnValue = instance.ContainsKey(key)

Syntax

'Declaration
Public Function ContainsKey ( _
    key As TKey _
) As Boolean
public bool ContainsKey (
    TKey key
)
public:
virtual bool ContainsKey (
    TKey key
) sealed
public final boolean ContainsKey (
    TKey key
)
public final function ContainsKey (
    key : TKey
) : boolean

Parameters

  • key

Return 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