IVsParseCommandLine Members
Include Protected Members
Include Inherited Members
Parses command line arguments for implementers of IOleCommandTarget. You can get an instance of the interface from the SVsParseCommandLine (SID_SVsParseCommandLine) service.
The IVsParseCommandLine type exposes the following members.
Methods
Name | Description | |
---|---|---|
EvaluateSwitches | Evaluates command line switches based on switch definitions. | |
GetACParam | Retrieves an auto completion command line item. | |
GetCommand | Gets the current command. | |
GetCommandTail | Returns the tail of the command line—characters remaining after the defined switches and arguments. | |
GetParam | Returns a parameter by index. | |
GetParamCount | Gets the number of command line parameters. | |
GetRawSwitch | Returns a raw, unparsed switch by index. | |
GetRawSwitchValue | Returns the raw, unparsed value of the switch by index. | |
GetSwitchCount | Returns the number of switches in the command line. | |
GetSwitchValue | Gets the parsed value of a switch by index. | |
GetSwitchValueCount | Gets the number of switch values on the command line. | |
HasParams | Queries whether or not there are command line parameters. | |
HasSwitches | Queries whether or not there are command line switches. | |
HasSwitchValues | Queries whether or not there are command line switch values. | |
IsSwitchPresent | Queries, by index, whether or not a given switch is present. | |
ParseCommandLine | Parses the command line as preparation for using other interface methods to retrieve the parsed elements. | |
ParseCommandTail | Parses the tail of the command line. | |
QuoteParam | Quote a parameter string and escape characters within the string appropriately. | |
RejectAllSwitches | Tests for whether or not there were any switches. | |
SwitchHasValue | Tests, by index, whether or not a specific switch has a value. | |
ValidateParamCount | Verify the parameter count is within a specific range. |
Top