CefValue Class |
Namespace: Internal.Xilium.CefGlue
public sealed class CefValue : IDisposable
The CefValue type exposes the following members.
Name | Description | |
---|---|---|
IsOwned |
Returns true if the underlying data is owned by another object.
| |
IsReadOnly |
Returns true if the underlying data is read-only. Some APIs may expose
read-only objects.
| |
IsValid |
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.
|
Name | Description | |
---|---|---|
Copy |
Returns a copy of this object. The underlying data will also be copied.
| |
Create |
Creates a new object.
| |
Dispose | Releases all resources used by the CefValue | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides ObjectFinalize.) | |
GetBinary |
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().
| |
GetBool |
Returns the underlying value as type bool.
| |
GetDictionary |
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().
| |
GetDouble |
Returns the underlying value as type double.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt |
Returns the underlying value as type int.
| |
GetList |
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().
| |
GetString |
Returns the underlying value as type string.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValueType |
Returns the underlying value type.
| |
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.
| |
SetBinary |
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.
| |
SetBool |
Sets the underlying value as type bool. Returns true if the value was set
successfully.
| |
SetDictionary |
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.
| |
SetDouble |
Sets the underlying value as type double. Returns true if the value was set
successfully.
| |
SetInt |
Sets the underlying value as type int. Returns true if the value was set
successfully.
| |
SetList |
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.
| |
SetNull |
Sets the underlying value as type null. Returns true if the value was set
successfully.
| |
SetString |
Sets the underlying value as type string. Returns true if the value was set
successfully.
| |
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.) |