JSONObjectGetT Method (String, T) | |
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
)
Public Function Get(Of T) (
key As String,
defaultValue As T
) As T
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:
TThe value that was looked up, or the given default value.
See Also