CommandString Property (IUserCommand)

CommandString Property (IUserCommand) | Send Feedback
See Also

Gets or sets the user command's command string.

# Syntax

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

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

JavaScript |
--- | ---
    get_CommandString () : String
    put_CommandString (
       NewVal : String
    )

COM native C++ |
--- | ---
    HRESULT get_CommandString(
       BSTR* Val
    )
    HRESULT put_CommandString(
       BSTR NewVal

C++ |
--- | ---
    DSRESULT get_CommandString (
       dsString* Val
    )
    DSRESULT put_CommandString(
       const dsString& NewVal
    )

#### Property Value

User command's command string

# Remarks

The return value is the string specified for IApplication::CreateUserCommand's CmdString parameter (e.g., ^C^CapiCmd) or the string set by this property.

# See Also

####

IUserCommand Interface
IUserCommand Members

# Availability

DraftSight V1R1