Click or drag to resize

CefValue Class

Class that wraps other data value types. Complex types (binary, dictionary and list) will be referenced but not owned by this object. Can be used on any process and thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefValue

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 CefValue : IDisposable

The CefValue type exposes the following members.

Properties
  NameDescription
Public propertyIsOwned
Returns true if the underlying data is owned by another object.
Public propertyIsReadOnly
Returns true if the underlying data is read-only. Some APIs may expose read-only objects.
Public propertyIsValid
Returns true if the underlying data is valid. This will always be true for simple types. For complex types (binary, dictionary and list) the underlying data may become invalid if owned by another object (e.g. list or dictionary) and that other object is then modified or destroyed. This value object can be re-used by calling Set*() even if the underlying data is invalid.
Top
Methods
  NameDescription
Public methodCopy
Returns a copy of this object. The underlying data will also be copied.
Public methodStatic memberCreate
Creates a new object.
Public methodDispose
Releases all resources used by the CefValue
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetBinary
Returns the underlying value as type binary. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the SetValue() method instead of passing the returned reference to SetBinary().
Public methodGetBool
Returns the underlying value as type bool.
Public methodGetDictionary
Returns the underlying value as type dictionary. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the SetValue() method instead of passing the returned reference to SetDictionary().
Public methodGetDouble
Returns the underlying value as type double.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Returns the underlying value as type int.
Public methodGetList
Returns the underlying value as type list. The returned reference may become invalid if the value is owned by another object or if ownership is transferred to another object in the future. To maintain a reference to the value after assigning ownership to a dictionary or list pass this object to the SetValue() method instead of passing the returned reference to SetList().
Public methodGetString
Returns the underlying value as type string.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValueType
Returns the underlying value type.
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 methodSetBinary
Sets the underlying value as type binary. Returns true if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.
Public methodSetBool
Sets the underlying value as type bool. Returns true if the value was set successfully.
Public methodSetDictionary
Sets the underlying value as type dict. Returns true if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.
Public methodSetDouble
Sets the underlying value as type double. Returns true if the value was set successfully.
Public methodSetInt
Sets the underlying value as type int. Returns true if the value was set successfully.
Public methodSetList
Sets the underlying value as type list. Returns true if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.
Public methodSetNull
Sets the underlying value as type null. Returns true if the value was set successfully.
Public methodSetString
Sets the underlying value as type string. Returns true if the value was set successfully.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also