# Class TCefPostDataElementOwn

Description
Hierarchy
Fields
Methods

## Unit

uCEFPostDataElement

## Declaration

`type TCefPostDataElementOwn = class(TCefBaseRefCountedOwn, ICefPostDataElement)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn
- TCefPostDataElementOwn

## Overview

### Fields

Protected | `FDataType: TCefPostDataElementType;`
Protected | `FValueByte: Pointer;`
Protected | `FValueStr: TCefString;`
Protected | `FSize: NativeUInt;`
Protected | `FReadOnly: Boolean;`

### Methods

Protected | `procedure Clear;`
Protected | `function IsReadOnly: Boolean; virtual;`
Protected | `procedure SetToEmpty; virtual;`
Protected | `procedure SetToFile(const fileName: ustring); virtual;`
Protected | `procedure SetToBytes(size: NativeUInt; const bytes: Pointer); virtual;`
Protected | `function GetType: TCefPostDataElementType; virtual;`
Protected | `function GetFile: ustring; virtual;`
Protected | `function GetBytesCount: NativeUInt; virtual;`
Protected | `function GetBytes(size: NativeUInt; bytes: Pointer): NativeUInt; virtual;`
Public | `constructor Create(readonly: Boolean); virtual;`

## Description

### Fields

Protected | `FDataType: TCefPostDataElementType;`
This item has no description.

Protected | `FValueByte: Pointer;`
This item has no description.

Protected | `FValueStr: TCefString;`
This item has no description.

Protected | `FSize: NativeUInt;`
This item has no description.

Protected | `FReadOnly: Boolean;`
This item has no description.

### Methods

Protected | `procedure Clear;`
This item has no description.

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

Protected | `procedure SetToEmpty; virtual;`
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); virtual;`
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); virtual;`
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; virtual;`
This item has no description. Showing description inherited from ICefPostDataElement.GetType. Return the type of this post data element.

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

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

Protected | `function GetBytes(size: NativeUInt; bytes: Pointer): NativeUInt; virtual;`
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 | `constructor Create(readonly: Boolean); virtual;`
This item has no description.

Generated by PasDoc 1.0.4.