Compartilhar via


ExtExtension.GetNumUnnamedArgs method

The GetNumUnnamedArgs method returns the number of unnamed arguments in the command line used to invoke the current extension command.

Syntax

ULONG GetNumUnnamedArgs();

Parameters

This method has no parameters.

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

Target platform

Desktop

Header

Engextcpp.hpp (include Engextcpp.hpp)

 

 

Send comments about this topic to Microsoft