DynamicValue.TryGetValue Method

Gets the value associated with the specified key.

Namespace:  Microsoft.Activities
Assembly:  Microsoft.Activities (in Microsoft.Activities.dll)

public bool TryGetValue(
	string key,
	out DynamicValue value
)

Parameters

key
Type: System.String
The key of the value to get.
value
Type: Microsoft.Activities.DynamicValue
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.

Return Value

Type: System.Boolean
true if the [T:System.Collections.Generic.Dictionary<TKey,TValue>] contains an element with the specified key; otherwise, false.

Implements

IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)

Community Additions

ADD
Show: