# Class TCefValueRef

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFValue

## Declaration

`type TCefValueRef = class(TCefBaseRefCountedRef, ICefValue)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefValueRef

## Overview

### Methods

| `function IsValid: Boolean;`
| `function IsOwned: Boolean;`
| `function IsReadOnly: Boolean;`
| `function IsSame(const that: ICefValue): Boolean;`
| `function IsEqual(const that: ICefValue): Boolean;`
| `function Copy: ICefValue;`
| `function GetType: TCefValueType;`
| `function GetBool: Boolean;`
| `function GetInt: Integer;`
| `function GetDouble: Double;`
| `function GetString: ustring;`
| `function GetBinary: ICefBinaryValue;`
| `function GetDictionary: ICefDictionaryValue;`
| `function GetList: ICefListValue;`
| `function SetNull: Boolean;`
| `function SetBool(value: boolean): Boolean;`
| `function SetInt(value: Integer): Boolean;`
| `function SetDouble(value: Double): Boolean;`
| `function SetString(const value: ustring): Boolean;`
| `function SetBinary(const value: ICefBinaryValue): Boolean;`
| `function SetDictionary(const value: ICefDictionaryValue): Boolean;`
| `function SetList(const value: ICefListValue): Boolean;`
| `class function UnWrap(data: Pointer): ICefValue;`
| `class function New: ICefValue;`

## Description

### Methods

| `function IsValid: Boolean;`
This item has no description. Showing description inherited from ICefValue.IsValid. Returns true (1) if the underlying data is valid. This will always be true (1) 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.

| `function IsOwned: Boolean;`
This item has no description. Showing description inherited from ICefValue.IsOwned. Returns true (1) if the underlying data is owned by another object.

| `function IsReadOnly: Boolean;`
This item has no description. Showing description inherited from ICefValue.IsReadOnly. Returns true (1) if the underlying data is read-only. Some APIs may expose read-only objects.

| `function IsSame(const that: ICefValue): Boolean;`
This item has no description. Showing description inherited from ICefValue.IsSame. Returns true (1) if this object and |that| object have the same underlying data. If true (1) modifications to this object will also affect |that| object and vice-versa.

| `function IsEqual(const that: ICefValue): Boolean;`
This item has no description. Showing description inherited from ICefValue.IsEqual. Returns true (1) if this object and |that| object have an equivalent underlying value but are not necessarily the same object.

| `function Copy: ICefValue;`
This item has no description. Showing description inherited from ICefValue.Copy. Returns a copy of this object. The underlying data will also be copied.

| `function GetType: TCefValueType;`
This item has no description. Showing description inherited from ICefValue.GetType. Returns the underlying value type.

| `function GetBool: Boolean;`
This item has no description. Showing description inherited from ICefValue.GetBool. Returns the underlying value as type bool.

| `function GetInt: Integer;`
This item has no description. Showing description inherited from ICefValue.GetInt. Returns the underlying value as type int.

| `function GetDouble: Double;`
This item has no description. Showing description inherited from ICefValue.GetDouble. Returns the underlying value as type double.

| `function GetString: ustring;`
This item has no description. Showing description inherited from ICefValue.GetString. Returns the underlying value as type string.

| `function GetBinary: ICefBinaryValue;`
This item has no description. Showing description inherited from ICefValue.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 set_value() function instead of passing the returned reference to set_binary().

| `function GetDictionary: ICefDictionaryValue;`
This item has no description. Showing description inherited from ICefValue.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 set_value() function instead of passing the returned reference to set_dictionary().

| `function GetList: ICefListValue;`
This item has no description. Showing description inherited from ICefValue.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 set_value() function instead of passing the returned reference to set_list().

| `function SetNull: Boolean;`
This item has no description. Showing description inherited from ICefValue.SetNull. Sets the underlying value as type null. Returns true (1) if the value was set successfully.

| `function SetBool(value: boolean): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetBool. Sets the underlying value as type bool. Returns true (1) if the value was set successfully.

| `function SetInt(value: Integer): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetInt. Sets the underlying value as type int. Returns true (1) if the value was set successfully.

| `function SetDouble(value: Double): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetDouble. Sets the underlying value as type double. Returns true (1) if the value was set successfully.

| `function SetString(const value: ustring): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetString. Sets the underlying value as type string. Returns true (1) if the value was set successfully.

| `function SetBinary(const value: ICefBinaryValue): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetBinary. Sets the underlying value as type binary. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.

| `function SetDictionary(const value: ICefDictionaryValue): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetDictionary. Sets the underlying value as type dict. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.

| `function SetList(const value: ICefListValue): Boolean;`
This item has no description. Showing description inherited from ICefValue.SetList. Sets the underlying value as type list. Returns true (1) if the value was set successfully. This object keeps a reference to |value| and ownership of the underlying data remains unchanged.

| `class function UnWrap(data: Pointer): ICefValue;`
This item has no description.

| `class function New: ICefValue;`
This item has no description.

Generated by PasDoc 0.16.0-snapshot.