RVTDocs.com

ToggleButtonData(String, String, String, String)

Constructor
Description:
Constructs a new instance of ToggleButtonData, where the ToggleButton will execute an ExternalCommand when clicked.
Syntax
public ToggleButtonData(
	string name,
	string text,
	string assemblyName,
	string className
)
Parameters
Parameter Type Description
name String The internal name of the new button.
text String The user visible text seen on the new button.
assemblyName String The assembly path of the button.
className String The name of the class containing the implementation for the command.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown whenis passed for one or more arguments.
ArgumentException Thrown when an empty string is passed for one or more arguments.