Click or drag to resize

DictionaryContractAttributeRequiredKeys Property

Sets a list of keys, followed by the required type, that this dictionary instance requires. 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[] RequiredKeys { 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