ExtExtension::GetNumUnnamedArgs method (engextcpp.hpp)
The GetNumUnnamedArgs method returns the number of unnamed arguments in the command line used to invoke the current extension command.
Syntax
ULONG GetNumUnnamedArgs();
Return value
GetNumUnnamedArgs returns the number of unnamed arguments.
Remarks
The indices of the unnamed arguments returned by GetNumUnnamedArgs range from zero to the number of unnamed arguments minus one (unnamed args - 1).
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | engextcpp.hpp (include Engextcpp.hpp) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for