OrderedDictionary.TryGetValue Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Dim instance As OrderedDictionary(Of TKey, TValue)
Dim key As TKey
Dim value As TValue
Dim returnValue As Boolean

returnValue = instance.TryGetValue(key, value)

public bool TryGetValue (
	TKey key,
	out TValue value
public final boolean TryGetValue (
	TKey key, 
	/** @attribute OutAttribute() */ /** @ref */ TValue value




Return Value

Returns Boolean.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms