# Record TCefCommandLine

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefCommandLine = record`

## Description

Structure used to create and/or parse command line arguments. Arguments with "–", "-" and, on Windows, "/" prefixes are considered switches. Switches will always precede any arguments without switch prefixes. Switches can optionally have a value specified using the "=" delimiter (e.g. "-switch=value"). An argument of "–" will terminate switch parsing with all subsequent tokens, regardless of prefix, being interpreted as non-switch arguments. Switch names should be lowercase ASCII and will be converted to such if necessary. Switch values will retain the original case and UTF8 encoding. This structure can be used before cef_initialize() is called.

NOTE: This struct is allocated DLL-side.

Implemented by ICefCommandLine.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_command_line_capi.h">CEF source file: /include/capi/cef_command_line_capi.h (cef_command_line_t))

## Overview

### Fields

Public | `base: TCefBaseRefCounted;`
Public | `is_valid: function(self: PCefCommandLine): Integer; stdcall;`
Public | `is_read_only: function(self: PCefCommandLine): Integer; stdcall;`
Public | `copy: function(self: PCefCommandLine): PCefCommandLine; stdcall;`
Public | `init_from_argv: procedure(self: PCefCommandLine; argc: Integer; const argv: PPAnsiChar); stdcall;`
Public | `init_from_string: procedure(self: PCefCommandLine; const command_line: PCefString); stdcall;`
Public | `reset: procedure(self: PCefCommandLine); stdcall;`
Public | `get_argv: procedure(self: PCefCommandLine; argv: TCefStringList); stdcall;`
Public | `get_command_line_string: function(self: PCefCommandLine): PCefStringUserFree; stdcall;`
Public | `get_program: function(self: PCefCommandLine): PCefStringUserFree; stdcall;`
Public | `set_program: procedure(self: PCefCommandLine; const program_: PCefString); stdcall;`
Public | `has_switches: function(self: PCefCommandLine): Integer; stdcall;`
Public | `has_switch: function(self: PCefCommandLine; const name: PCefString): Integer; stdcall;`
Public | `get_switch_value: function(self: PCefCommandLine; const name: PCefString): PCefStringUserFree; stdcall;`
Public | `get_switches: procedure(self: PCefCommandLine; switches: TCefStringMap); stdcall;`
Public | `append_switch: procedure(self: PCefCommandLine; const name: PCefString); stdcall;`
Public | `append_switch_with_value: procedure(self: PCefCommandLine; const name, value: PCefString); stdcall;`
Public | `has_arguments: function(self: PCefCommandLine): Integer; stdcall;`
Public | `get_arguments: procedure(self: PCefCommandLine; arguments: TCefStringList); stdcall;`
Public | `append_argument: procedure(self: PCefCommandLine; const argument: PCefString); stdcall;`
Public | `prepend_wrapper: procedure(self: PCefCommandLine; const wrapper: PCefString); stdcall;`
Public | `remove_switch: procedure(self: PCefCommandLine; const name_: PCefString); stdcall;`

## Description

### Fields

Public | `base: TCefBaseRefCounted;`
This item has no description.

Public | `is_valid: function(self: PCefCommandLine): Integer; stdcall;`
This item has no description.

Public | `is_read_only: function(self: PCefCommandLine): Integer; stdcall;`
This item has no description.

Public | `copy: function(self: PCefCommandLine): PCefCommandLine; stdcall;`
This item has no description.

Public | `init_from_argv: procedure(self: PCefCommandLine; argc: Integer; const argv: PPAnsiChar); stdcall;`
This item has no description.

Public | `init_from_string: procedure(self: PCefCommandLine; const command_line: PCefString); stdcall;`
This item has no description.

Public | `reset: procedure(self: PCefCommandLine); stdcall;`
This item has no description.

Public | `get_argv: procedure(self: PCefCommandLine; argv: TCefStringList); stdcall;`
This item has no description.

Public | `get_command_line_string: function(self: PCefCommandLine): PCefStringUserFree; stdcall;`
This item has no description.

Public | `get_program: function(self: PCefCommandLine): PCefStringUserFree; stdcall;`
This item has no description.

Public | `set_program: procedure(self: PCefCommandLine; const program_: PCefString); stdcall;`
This item has no description.

Public | `has_switches: function(self: PCefCommandLine): Integer; stdcall;`
This item has no description.

Public | `has_switch: function(self: PCefCommandLine; const name: PCefString): Integer; stdcall;`
This item has no description.

Public | `get_switch_value: function(self: PCefCommandLine; const name: PCefString): PCefStringUserFree; stdcall;`
This item has no description.

Public | `get_switches: procedure(self: PCefCommandLine; switches: TCefStringMap); stdcall;`
This item has no description.

Public | `append_switch: procedure(self: PCefCommandLine; const name: PCefString); stdcall;`
This item has no description.

Public | `append_switch_with_value: procedure(self: PCefCommandLine; const name, value: PCefString); stdcall;`
This item has no description.

Public | `has_arguments: function(self: PCefCommandLine): Integer; stdcall;`
This item has no description.

Public | `get_arguments: procedure(self: PCefCommandLine; arguments: TCefStringList); stdcall;`
This item has no description.

Public | `append_argument: procedure(self: PCefCommandLine; const argument: PCefString); stdcall;`
This item has no description.

Public | `prepend_wrapper: procedure(self: PCefCommandLine; const wrapper: PCefString); stdcall;`
This item has no description.

Public | `remove_switch: procedure(self: PCefCommandLine; const name_: PCefString); stdcall;`
This item has no description.

Generated by PasDoc 1.0.4.