Click or drag to resize

DesktopUtilsgetJSONLong Method

Returns a long 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: 17.6.1
Syntax
C#
public static long getJSONLong(
	JObject jsonObject,
	string key,
	long defaultValue = 0
)

Parameters

jsonObject
Type: JObject

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

key
Type: SystemString

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

defaultValue (Optional)
Type: SystemInt64

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

Return Value

Type: Int64

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

See Also