Click or drag to resize

JSONObjectGetT Method (String, T)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the value associated with the specified key (CLR object's field or property name). If the specified key is not found, returns the given default value.

Namespace:  Telogis.GeoBase.Serialization
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public T Get<T>(
	string key,
	T defaultValue
)

Parameters

key
Type: SystemString
The key to look up.
defaultValue
Type: T
An object of type T, this object is returned if the specified key is not found.

Type Parameters

T
The object type to return.

Return Value

Type: T
The value that was looked up, or the given default value.
See Also