Skip to main content
An instance of this class describes a custom command, declared and implemented by a document plugin.

Constructors

NSCommandInfo()

Initializes a new instance of the NSCommandInfo class.

Methods

GetDisplayName()

Returns: CRMScript.Global.String - Display name, shown in menus, command lists and similar GUI elements. Example:

GetDisplayTooltip()

Returns: CRMScript.Global.String - Tooltip string associate with the command* can be a literal or a tooltip hint. Example:

GetIconHint()

Returns: CRMScript.Global.String - Icon hint, which should resolve to an icon that is compatible in size with a standard menu or dropdown list font. May be blank. Example:

GetName()

Returns: CRMScript.Global.String - The programmatic name of the command, uniquely identifying this command for the document plugin. Example:

GetReturnType()

Returns: CRMScript.Global.Integer - Declaration of what kind of return type the execution of this command will give. See <xref href=“CRMScript.NetServer.ReturnType” data-throw-if-not-resolved=“false”></xref>. Example:

SetDisplayName(String)

Returns: CRMScript.Global.Void Example:

SetDisplayTooltip(String)

Returns: CRMScript.Global.Void Example:

SetIconHint(String)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetReturnType(Integer)

Returns: CRMScript.Global.Void Example: