[This is preliminary documentation and is subject to change.]
The CefDictionaryValue type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| Clear |
Removes all values. Returns true on success.
| |
| Copy |
Returns a writable copy of this object. If |exclude_empty_children| is true
any empty dictionaries or lists will be excluded from the copy.
| |
| Create |
Creates a new object that is not owned by any other object.
| |
| Dispose | Releases all resources used by the CefDictionaryValue | |
| (Inherited from | ||
| Finalize | (Overrides | |
| GetBinary |
Returns the value at the specified key as type binary.
| |
| GetBool |
Returns the value at the specified key as type bool.
| |
| GetDictionary |
Returns the value at the specified key as type dictionary.
| |
| GetDouble |
Returns the value at the specified key as type double.
| |
Serves as a hash function for a particular type.
(Inherited from | ||
| GetInt |
Returns the value at the specified key as type int.
| |
| GetKeys |
Reads all keys for this dictionary into the specified vector.
| |
| GetKeyType |
Returns the value type for the specified key.
| |
| GetList |
Returns the value at the specified key as type list.
| |
| GetString |
Returns the value at the specified key as type string.
| |
Gets the (Inherited from | ||
| HasKey |
Returns true if the current dictionary has a value for the given key.
| |
Creates a shallow copy of the current (Inherited from | ||
| Remove |
Removes the value at the specified key. Returns true is the value was
removed successfully.
| |
| SetBinary |
Sets the value at the specified key as type binary. Returns true if the
value was set successfully. If |value| is currently owned by another object
then the value will be copied and the |value| reference will not change.
Otherwise, ownership will be transferred to this object and the |value|
reference will be invalidated.
| |
| SetBool |
Sets the value at the specified key as type bool. Returns true if the
value was set successfully.
| |
| SetDictionary |
Sets the value at the specified key as type dict. Returns true if the
value was set successfully. After calling this method the |value| object
will no longer be valid. If |value| is currently owned by another object
then the value will be copied and the |value| reference will not change.
Otherwise, ownership will be transferred to this object and the |value|
reference will be invalidated.
| |
| SetDouble |
Sets the value at the specified key as type double. Returns true if the
value was set successfully.
| |
| SetInt |
Sets the value at the specified key as type int. Returns true if the
value was set successfully.
| |
| SetList |
Sets the value at the specified key as type list. Returns true if the
value was set successfully. After calling this method the |value| object
will no longer be valid. If |value| is currently owned by another object
then the value will be copied and the |value| reference will not change.
Otherwise, ownership will be transferred to this object and the |value|
reference will be invalidated.
| |
| SetNull |
Sets the value at the specified key as type null. Returns true if the
value was set successfully.
| |
| SetString |
Sets the value at the specified key as type string. Returns true if the
value was set successfully.
| |
| (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| Count |
Returns the number of values.
| |
| IsOwned |
Returns true if this object is currently owned by another object.
| |
| IsReadOnly |
Returns true if the values of this object are read-only. Some APIs may
expose read-only objects.
| |
| IsValid |
Returns true if this object is valid. Do not call any other methods if this
method returns false.
|
See Also