Click or drag to resize

CefDictionaryValue Methods

The CefDictionaryValue type exposes the following members.

Methods
 NameDescription
Public methodClear Removes all values. Returns true on success.
Public methodCopy Returns a writable copy of this object. If |exclude_empty_children| is true any empty dictionaries or lists will be excluded from the copy.
Public methodStatic memberCreate Creates a new object that is not owned by any other object.
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetBinary Returns the value at the specified key as type binary. The returned value will reference existing data.
Public methodGetBool Returns the value at the specified key as type bool.
Public methodGetDictionary 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.
Public methodGetDouble Returns the value at the specified key as type double.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInt Returns the value at the specified key as type int.
Public methodGetKeys Reads all keys for this dictionary into the specified vector.
Public methodGetList 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.
Public methodGetString Returns the value at the specified key as type string.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValue 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.
Public methodGetValueType Returns the value type for the specified key.
Public methodHasKey Returns true if the current dictionary has a value for the given key.
Public methodIsEqual Returns true if this object and |that| object have an equivalent underlying value but are not necessarily the same object.
Public methodIsSame 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.
Public methodRemove Removes the value at the specified key. Returns true is the value was removed successfully.
Public methodSetBinary 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.
Public methodSetBool Sets the value at the specified key as type bool. Returns true if the value was set successfully.
Public methodSetDictionary 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.
Public methodSetDouble Sets the value at the specified key as type double. Returns true if the value was set successfully.
Public methodSetInt Sets the value at the specified key as type int. Returns true if the value was set successfully.
Public methodSetList 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.
Public methodSetNull Sets the value at the specified key as type null. Returns true if the value was set successfully.
Public methodSetString Sets the value at the specified key as type string. Returns true if the value was set successfully.
Public methodSetValue 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.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also