# Class TCefListValueRef

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFListValue

## Declaration

`type TCefListValueRef = class(TCefBaseRefCountedRef, ICefListValue)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefListValueRef

## Overview

### Methods

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

## Description

### Methods

| `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).

| `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.

| `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.

| `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.

| `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.

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

| `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.

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

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

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

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

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

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

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

Generated by PasDoc 0.17.0.snapshot.