ApplicationMgr.GetCommand
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
ApplicationMgr.GetCommand
Syntax
ApplicationMgr.GetCommand( cmdKind, commandIndex = 0)
Return Value
Command object that represents the command.
Purpose
Creates a Command object.
Parameters
cmdKind As CommandKinds
[In] Specifies the type of Command object to create.
commandIndex As Long
[In] Specifies which command in the set to return. Use this on sets of commands.
This parameter has a default value of 0 .