Get(T) Method (IDictionary(String, Object), String)

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Gets a value from the output dictionary

Namespace: Microsoft.Activities.Extensions
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public static T Get<T>(
	IDictionary<string, Object> dictionary,
	string name
)
Visual Basic
Public Shared Function Get(Of T) ( _
	dictionary As IDictionary(Of String, Object), _
	name As String _
) As T
Visual C++
public:
generic<typename T>
static T Get(
	IDictionary<String^, Object^>^ dictionary, 
	String^ name
)

Parameters

dictionary
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
The dictionary.
name
Type: System..::..String
The argument name.

Type Parameters

T
The type of the argument

Return Value

The dictionary value

Exceptions

ExceptionCondition
System..::..ArgumentException No value was found for name

See Also