CefCommandLine Class |
Namespace: Internal.Xilium.CefGlue
public sealed class CefCommandLine : IDisposable
The CefCommandLine type exposes the following members.
| Name | Description | |
|---|---|---|
| Global |
Returns the singleton global CefCommandLine object. The returned object
will be read-only.
| |
| HasArguments |
True if there are remaining command line arguments.
| |
| HasSwitches |
Returns true if the command line has switches.
| |
| IsReadOnly |
Returns true if the values of this object are read-only. Some APIs may
expose read-only objects.
| |
| IsValid |
Returns true if this object is valid. Do not call any other methods if this
function returns false.
|
| Name | Description | |
|---|---|---|
| AppendArgument |
Add an argument to the end of the command line.
| |
| AppendSwitch(String) |
Add a switch to the end of the command line. If the switch has no value
pass an empty value string.
| |
| AppendSwitch(String, String) |
Add a switch with the specified value to the end of the command line.
| |
| Copy |
Returns a writable copy of this object.
| |
| Create |
Create a new CefCommandLine instance.
| |
| Dispose | Releases all resources used by the CefCommandLine | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetArguments |
Get the remaining command line arguments.
| |
| GetArgv |
Retrieve the original command line string as a vector of strings.
The argv array: { program, [(--|-|/)switch[=value]]*, [--], [argument]* }
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetProgram |
Get the program part of the command line string (the first item).
| |
| GetSwitches |
Returns the map of switch names and values. If a switch has no value an
empty string is returned.
| |
| GetSwitchValue |
Returns the value associated with the given switch. If the switch has no
value or isn't present this method returns the empty string.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasSwitch |
Returns true if the command line contains the given switch.
| |
| PrependArgument |
Insert an argument to the beginning of the command line.
Unlike PrependWrapper this method doesn't strip argument by spaces.
| |
| PrependWrapper |
Insert a command before the current command.
Common for debuggers, like "valgrind" or "gdb --args".
| |
| Reset |
Reset the command-line switches and arguments but leave the program
component unchanged.
| |
| SetProgram |
Set the program part of the command line string (the first item).
| |
| ToString |
Constructs and returns the represented command line string. Use this method
cautiously because quoting behavior is unclear.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |