Click or drag to resize

CommandCollectionIndexOfUniqueName Method

Returns the index in the collection of commands with the specified name.

Namespace:  RootPro.RootProCAD.Command
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract int IndexOfUniqueName(
	string uniqueName
)

Parameters

uniqueName
Type: SystemString
Unique name assigned to the command.

Return Value

Type: Int32
The zero-based index number of the command in the collection. If there is no command in the collection, the return value is -1.
See Also