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
Syntaxpublic Object[] RequiredKeys { get; set; }Property Value
Type:
Object
Exceptions| Exception | Condition |
|---|
| ArgumentException | Throw if the number of entries is not even (
there needs to be two entries per key, name and type) |
See Also