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