CommandLookupCommandId Method |
Returns the ID of a command.
Namespace:
Rhino.Commands
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static Guid LookupCommandId(
string name,
bool searchForEnglishName
)
Public Shared Function LookupCommandId (
name As String,
searchForEnglishName As Boolean
) As Guid
Parameters
- name
- Type: SystemString
The name of the command. - searchForEnglishName
- Type: SystemBoolean
true if the name is to searched in English. This ensures that a '_' is prepended to the name.
Return Value
Type:
GuidAn of the command, or
Empty on error.
See Also