Constructs a new instance of PulldownButtonData.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI
(in RevitAPIUI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- name
-
Type:
System
String
The internal name of the new button.
- text
-
Type:
System
String
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | Thrown when a null reference ( Nothing in Visual Basic) is passed for one or more arguments. |
Autodesk.Revit.Exceptions ArgumentException | Thrown when an empty string is passed for one or more arguments. |