Click or drag to resize

DesktopUtilsgetObject Method

Returns an Object identified by "key" from "jsonObject".

"defaultValue" is returned if no match is found.

The JSON object to retrieve a value from.The key to search for.The value to return if no key match is found.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 16.7.0
Syntax
C#
public static Object getObject(
	JObject jsonObject,
	string key,
	Object defaultValue = null
)

Parameters

jsonObject
Type: JObject

[Missing <param name="jsonObject"/> documentation for "M:Openfin.Desktop.DesktopUtils.getObject(Newtonsoft.Json.Linq.JObject,System.String,System.Object)"]

key
Type: SystemString

[Missing <param name="key"/> documentation for "M:Openfin.Desktop.DesktopUtils.getObject(Newtonsoft.Json.Linq.JObject,System.String,System.Object)"]

defaultValue (Optional)
Type: SystemObject

[Missing <param name="defaultValue"/> documentation for "M:Openfin.Desktop.DesktopUtils.getObject(Newtonsoft.Json.Linq.JObject,System.String,System.Object)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Openfin.Desktop.DesktopUtils.getObject(Newtonsoft.Json.Linq.JObject,System.String,System.Object)"]

See Also