IDataDictionary Get T  Method (String, T)C# API
Returns a reference to an object held in the dictionary, or the defaultValue if the key cannot be found.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.4.0.26
Syntax

T Get<T>(
	string key,
	T defaultValue
)

Parameters

key
Type: System String
The key to be looked up in the dictionary.
defaultValue
Type: T
The value to return if the key is not present in the dictionary.
Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Facilita.Fc.Runtime.IDataDictionary.Get``1(System.String,``0)"]

Return Value

An object value held in the dictionary.
Remarks

The following example demonstrates getting an object from the dictionary.
object obj = Get("employee", new Employee());
See Also