Gets the user command's ID.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetID() As System.String |
JavaScript | |
---|
GetID() : String |
Parameters
- UserCmdID[out] or Return Value
- User command's ID (see Remarks)
Example
This code snippet shows how to get the user command's ID (from the DraftSight API COM native C++ template files DsAddinUserCommand.h and DsAddinUserCommand.cpp).
COM native C++
DsAddinUserCommand.h
bstr_t GetUserCommandID();
DsAddinUserCommand.cpp
bstr_t DsAddinUserCommand::GetUserCommandID()
{
return m_DsUserCommand->GetID();
}
Example
Remarks
See Also
Availability
DraftSight V1R1