RVTDocs.com
Namespace: Autodesk.Revit.UI Class: SubMenuItem

SubMenuItem

Constructor
Description:
Initialize the item data.
Syntax
public SubMenuItem(
	string name,
	ContextMenu subMenu
)
Parameters
Parameter Type Description
name String The name will show on menu.
subMenu ContextMenu The object of child ContextMenu.
Return Value
Exceptions
Exception Condition
ArgumentException name is an empty string or contains only whitespace.
ArgumentNullException A non-optional argument was null