# Class TCefListValueRef

Description
Hierarchy
Methods

## Unit

uCEFListValue

## Declaration

`type TCefListValueRef = class(TCefBaseRefCountedRef, ICefListValue)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefListValueRef

## Overview

### Methods

Protected | `function IsValid: Boolean;`
Protected | `function IsOwned: Boolean;`
Protected | `function IsReadOnly: Boolean;`
Protected | `function IsSame(const that: ICefListValue): Boolean;`
Protected | `function IsEqual(const that: ICefListValue): Boolean;`
Protected | `function Copy: ICefListValue;`
Protected | `function SetSize(size: NativeUInt): Boolean;`
Protected | `function GetSize: NativeUInt;`
Protected | `function Clear: Boolean;`
Protected | `function Remove(index: NativeUInt): Boolean;`
Protected | `function GetType(index: NativeUInt): TCefValueType;`
Protected | `function GetValue(index: NativeUInt): ICefValue;`
Protected | `function GetBool(index: NativeUInt): Boolean;`
Protected | `function GetInt(index: NativeUInt): Integer;`
Protected | `function GetDouble(index: NativeUInt): Double;`
Protected | `function GetString(index: NativeUInt): ustring;`
Protected | `function GetBinary(index: NativeUInt): ICefBinaryValue;`
Protected | `function GetDictionary(index: NativeUInt): ICefDictionaryValue;`
Protected | `function GetList(index: NativeUInt): ICefListValue;`
Protected | `function SetValue(index: NativeUInt; const value: ICefValue): Boolean;`
Protected | `function SetNull(index: NativeUInt): Boolean;`
Protected | `function SetBool(index: NativeUInt; value: Boolean): Boolean;`
Protected | `function SetInt(index: NativeUInt; value: Integer): Boolean;`
Protected | `function SetDouble(index: NativeUInt; value: Double): Boolean;`
Protected | `function SetString(index: NativeUInt; const value: ustring): Boolean;`
Protected | `function SetBinary(index: NativeUInt; const value: ICefBinaryValue): Boolean;`
Protected | `function SetDictionary(index: NativeUInt; const value: ICefDictionaryValue): Boolean;`
Protected | `function SetList(index: NativeUInt; const value: ICefListValue): Boolean;`
Public | `class function UnWrap(data: Pointer): ICefListValue;`
Public | `class function New: ICefListValue;`

## Description

### Methods

Protected | `function IsValid: Boolean;`
This item has no description. Showing description inherited from ICefListValue.IsValid. Returns true (1) 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 functions if this function returns false (0).

Protected | `function IsOwned: Boolean;`
This item has no description. Showing description inherited from ICefListValue.IsOwned. Returns true (1) if this object is currently owned by another object.

Protected | `function IsReadOnly: Boolean;`
This item has no description. Showing description inherited from ICefListValue.IsReadOnly. Returns true (1) if the values of this object are read-only. Some APIs may expose read-only objects.

Protected | `function IsSame(const that: ICefListValue): Boolean;`
This item has no description. Showing description inherited from ICefListValue.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.

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

Protected | `function Copy: ICefListValue;`
This item has no description. Showing description inherited from ICefListValue.Copy. Returns a writable copy of this object.

Protected | `function SetSize(size: NativeUInt): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetSize. Sets the number of values. If the number of values is expanded all new value slots will default to type null. Returns true (1) on success.

Protected | `function GetSize: NativeUInt;`
This item has no description. Showing description inherited from ICefListValue.GetSize. Returns the number of values.

Protected | `function Clear: Boolean;`
This item has no description. Showing description inherited from ICefListValue.Clear. Removes all values. Returns true (1) on success.

Protected | `function Remove(index: NativeUInt): Boolean;`
This item has no description. Showing description inherited from ICefListValue.Remove. Removes the value at the specified index.

Protected | `function GetType(index: NativeUInt): TCefValueType;`
This item has no description. Showing description inherited from ICefListValue.GetType. Returns the value type at the specified index.

Protected | `function GetValue(index: NativeUInt): ICefValue;`
This item has no description. Showing description inherited from ICefListValue.GetValue. Returns the value at the specified index. 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.

Protected | `function GetBool(index: NativeUInt): Boolean;`
This item has no description. Showing description inherited from ICefListValue.GetBool. Returns the value at the specified index as type bool.

Protected | `function GetInt(index: NativeUInt): Integer;`
This item has no description. Showing description inherited from ICefListValue.GetInt. Returns the value at the specified index as type int.

Protected | `function GetDouble(index: NativeUInt): Double;`
This item has no description. Showing description inherited from ICefListValue.GetDouble. Returns the value at the specified index as type double.

Protected | `function GetString(index: NativeUInt): ustring;`
This item has no description. Showing description inherited from ICefListValue.GetString. Returns the value at the specified index as type string.

Protected | `function GetBinary(index: NativeUInt): ICefBinaryValue;`
This item has no description. Showing description inherited from ICefListValue.GetBinary. Returns the value at the specified index as type binary. The returned value will reference existing data.

Protected | `function GetDictionary(index: NativeUInt): ICefDictionaryValue;`
This item has no description. Showing description inherited from ICefListValue.GetDictionary. Returns the value at the specified index as type dictionary. The returned value will reference existing data and modifications to the value will modify this object.

Protected | `function GetList(index: NativeUInt): ICefListValue;`
This item has no description. Showing description inherited from ICefListValue.GetList. Returns the value at the specified index as type list. The returned value will reference existing data and modifications to the value will modify this object.

Protected | `function SetValue(index: NativeUInt; const value: ICefValue): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetValue. Sets the value at the specified index. Returns true (1) 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.

Protected | `function SetNull(index: NativeUInt): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetNull. Sets the value at the specified index as type null. Returns true (1) if the value was set successfully.

Protected | `function SetBool(index: NativeUInt; value: Boolean): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetBool. Sets the value at the specified index as type bool. Returns true (1) if the value was set successfully.

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

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

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

Protected | `function SetBinary(index: NativeUInt; const value: ICefBinaryValue): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetBinary. Sets the value at the specified index as type binary. Returns true (1) 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.

Protected | `function SetDictionary(index: NativeUInt; const value: ICefDictionaryValue): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetDictionary. Sets the value at the specified index as type dict. Returns true (1) 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.

Protected | `function SetList(index: NativeUInt; const value: ICefListValue): Boolean;`
This item has no description. Showing description inherited from ICefListValue.SetList. Sets the value at the specified index as type list. Returns true (1) 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 | `class function UnWrap(data: Pointer): ICefListValue;`
This item has no description.

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

Generated by PasDoc 1.0.4.