CefDictionaryValue Methods |
The CefDictionaryValue type exposes the following members.
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 | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides ObjectFinalize.) | |
GetBinary |
Returns the value at the specified key as type binary. The returned
value will reference existing data.
| |
GetBool |
Returns the value at the specified key as type bool.
| |
GetDictionary |
Returns the value at the specified key as type dictionary. The returned
value will reference existing data and modifications to the value will
modify this object.
| |
GetDouble |
Returns the value at the specified key as type double.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt |
Returns the value at the specified key as type int.
| |
GetKeys |
Reads all keys for this dictionary into the specified vector.
| |
GetList |
Returns the value at the specified key as type list. The returned value
will reference existing data and modifications to the value will modify
this object.
| |
GetString |
Returns the value at the specified key as type string.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Returns the value at the specified key. For simple types the returned
value will copy existing data and modifications to the value will not
modify this object. For complex types (binary, dictionary and list) the
returned value will reference existing data and modifications to the value
will modify this object.
| |
GetValueType |
Returns the value type for the specified key.
| |
HasKey |
Returns true if the current dictionary has a value for the given key.
| |
IsEqual |
Returns true if this object and |that| object have an equivalent underlying
value but are not necessarily the same object.
| |
IsSame |
Returns true if this object and |that| object have the same underlying
data. If true modifications to this object will also affect |that| object
and vice-versa.
| |
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. 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. 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.
| |
SetValue |
Sets the value at the specified key. Returns true if the value was set
successfully. If |value| represents simple data then the underlying data
will be copied and modifications to |value| will not modify this object. If
|value| represents complex data (binary, dictionary or list) then the
underlying data will be referenced and modifications to |value| will modify
this object.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |