ComboBoxMemberData Constructor


Constructs a new instance of ComboBoxMemberData.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2011

Syntax

C#
public ComboBoxMemberData(
	string name,
	string text
)
Visual Basic
Public Sub New ( _
	name As String, _
	text As String _
)
Visual C++
public:
ComboBoxMemberData(
	String^ name, 
	String^ text
)

Parameters

name
Type: SystemString
The internal name of the ComboBoxMember.
text
Type: SystemString
The user visible text seen on the item.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullExceptionThrown when a null reference (Nothing in Visual Basic) is passed for one or more arguments.
Autodesk.Revit.ExceptionsArgumentExceptionThrown when an empty string is passed for one or more arguments.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →