ExtExtension.HasUnnamedArg method
The HasUnnamedArg method indicates whether a specified unnamed argument is present in the command line used to invoke the current extension command.
bool HasUnnamedArg(
[in] ULONG Index
);
- Index [in]
Specifies the index of the argument. Index should be between zero and the number of unnamed arguments returned by GetNumUnnamedArgs minus one (unnamed arguments - 1).
HasUnnamedArg returns true
if the argument is present; false
if it is not present.
This method will work for all types of unnamed arguments. For an overview of argument parsing in the EngExtCpp extensions framework, see Parsing Extension Arguments.
This method should only be called during the execution of an extension command provided by this class.
Target platform |
Desktop |
Header |
Engextcpp.hpp (include Engextcpp.hpp) |