Click or drag to resize

CefDictionaryValue Class

Class representing a dictionary value. Can be used on any process and thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefDictionaryValue

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class CefDictionaryValue : IDisposable

The CefDictionaryValue type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the number of values.
Public propertyIsOwned
Returns true if this object is currently owned by another object.
Public propertyIsReadOnly
Returns true if the values of this object are read-only. Some APIs may expose read-only objects.
Public propertyIsValid
Returns true if this object is valid. This object may become invalid if the underlying data is owned by another object (e.g. list or dictionary) and that other object is then modified or destroyed. Do not call any other methods if this method returns false.
Top
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
Releases all resources used by the CefDictionaryValue
Public methodEquals
Determines 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 methodGetHashCode
Serves 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 methodGetType
Gets 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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also