DynamicValue::TryGetValue Method (String^, DynamicValue^)
Gets the value associated with the specified key.
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
public: virtual bool TryGetValue( String^ key, [OutAttribute] DynamicValue^% value ) sealed
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::Booleantrue if the T:System.Collections.Generic.Dictionary<TKey,TValue> contains an element with the specified key; otherwise, false.
Show: