Name Property (IUserCommand)

Name Property (IUserCommand) | Send Feedback
See Also

Gets or sets the user command's name.

# Syntax

Visual Basic |
--- | ---
    Property Name As System.String

C# |
--- | ---
    System.string Name {get; set;}

JavaScript |
--- | ---
    get_Name () : String
    put_Name (
       NewVal : String
    )

COM native C++ |
--- | ---
    HRESULT get_Name(
       BSTR* Val
    )
    HRESULT put_Name(
       BSTR NewVal

C++ |
--- | ---
    DSRESULT get_Name (
       dsString* Val
    )
    DSRESULT put_Name(
       const dsString& NewVal
    )

#### Property Value

User command's name

# Remarks

The return value is the string specified for IMenuItem::InsertMenuItem's or IToolBar::InsertToolBarItem's ItemName parameter or the string set by this property.

# See Also

####

IUserCommand Interface
IUserCommand Members

# Availability

DraftSight V1R1