RVTDocs.com

UIControlledApplication.RemoveAddInCommandBinding

Method
Description:
Removes an AddInCommandBinding.
Syntax
public void RemoveAddInCommandBinding(
	RevitCommandId revitCommandId
)
Parameters
Parameter Type Description
revitCommandId RevitCommandId The Revit command id to identify the command handler you want to remove the binding.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when uiApplication or revitCommandId is.
InvalidOperationException Thrown when the given command is not bound with this add-in.