Click or drag to resize

DictionaryContractAttributeOptionalKeys Property

Sets a list of keys which may or may not be present but must conform to the given type specified. It is specified as an array of (string)key, (Type)type, (string)key, (Type)type, ...

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public Object[] OptionalKeys { get; set; }

Property Value

Type: Object
Exceptions
ExceptionCondition
ArgumentExceptionThrow if the number of entries is not even ( there needs to be two entries per key, name and type)
See Also