GetCommand Method (IContextMenuItem)

GetCommand Method (IContextMenuItem) | Send Feedback
See Also

CmdName[out]
  Name of command with which this context-sensitive menu item is associated

Gets the name of the command with which this context-sensitive menu item is associated.

# Syntax

Visual Basic |
--- | ---
    Function GetCommand() As System.String

C# |
--- | ---
    System.string GetCommand()

JavaScript |
--- | ---
    GetCommand() : String

COM native C++ |
--- | ---
    HRESULT GetCommand(
       BSTR* CmdName
    )

C++ |
--- | ---
    DSRESULT GetCommand(
       dsString* CmdName
    )

#### Parameters

CmdName[out] or Return Value
  Name of command with which this context-sensitive menu item is associated

# See Also

####

IContextMenuItem Interface
IContextMenuItem Members

# Availability

DraftSight V1R5.0