# Class TCefPostDataElementRef

Description
Hierarchy
Methods

## Unit

uCEFPostDataElement

## Declaration

`type TCefPostDataElementRef = class(TCefBaseRefCountedRef, ICefPostDataElement)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefPostDataElementRef

## Overview

### Methods

Protected | `function IsReadOnly: Boolean;`
Protected | `procedure SetToEmpty;`
Protected | `procedure SetToFile(const fileName: ustring);`
Protected | `procedure SetToBytes(size: NativeUInt; const bytes: Pointer);`
Protected | `function GetType: TCefPostDataElementType;`
Protected | `function GetFile: ustring;`
Protected | `function GetBytesCount: NativeUInt;`
Protected | `function GetBytes(size: NativeUInt; bytes: Pointer): NativeUInt;`
Public | `class function UnWrap(data: Pointer): ICefPostDataElement;`
Public | `class function New: ICefPostDataElement;`

## Description

### Methods

Protected | `function IsReadOnly: Boolean;`
This item has no description. Showing description inherited from ICefPostDataElement.IsReadOnly. Returns true (1) if this object is read-only.

Protected | `procedure SetToEmpty;`
This item has no description. Showing description inherited from ICefPostDataElement.SetToEmpty. Remove all contents from the post data element.

Protected | `procedure SetToFile(const fileName: ustring);`
This item has no description. Showing description inherited from ICefPostDataElement.SetToFile. The post data element will represent a file.

Protected | `procedure SetToBytes(size: NativeUInt; const bytes: Pointer);`
This item has no description. Showing description inherited from ICefPostDataElement.SetToBytes. The post data element will represent bytes. The bytes passed in will be copied.

Protected | `function GetType: TCefPostDataElementType;`
This item has no description. Showing description inherited from ICefPostDataElement.GetType. Return the type of this post data element.

Protected | `function GetFile: ustring;`
This item has no description. Showing description inherited from ICefPostDataElement.GetFile. Return the file name.

Protected | `function GetBytesCount: NativeUInt;`
This item has no description. Showing description inherited from ICefPostDataElement.GetBytesCount. Return the number of bytes.

Protected | `function GetBytes(size: NativeUInt; bytes: Pointer): NativeUInt;`
This item has no description. Showing description inherited from ICefPostDataElement.GetBytes. Read up to |size| bytes into |bytes| and return the number of bytes actually read.

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

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

Generated by PasDoc 1.0.4.