Click or drag to resize

BodyTryGetPropertyForKeyT Method

Tries the get property for key and cast it to T

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public bool TryGetPropertyForKey<T>(
	string key,
	out T val
)

Parameters

key
Type: SystemString
The key to search for
val
Type: T
The cast value, if successful

Type Parameters

T
The type to cast to

Return Value

Type: Boolean
true, if the property was found and cast, false otherwise.
See Also