Click or drag to resize

IPropertyContainerGetDate Method

Gets the DateTimeOffset? for the given key

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
Nullable<DateTimeOffset> GetDate(
	string key
)

Parameters

key
Type: SystemString
The key to check

Return Value

Type: NullableDateTimeOffset
The value stored in the given key, or null if it doesn't exist or is not a DateTimeOffset
Exceptions
ExceptionCondition
ThreadSafetyViolationExceptionThrown if an invalid access attempt is made
See Also