LessThan Operator


Determines whether this WorksetId is less than another WorksetId.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public static bool operator <(
	WorksetId WorksetId1,
	WorksetId WorksetId2
)
Visual Basic
Public Shared Operator < ( _
	WorksetId1 As WorksetId, _
	WorksetId2 As WorksetId _
) As Boolean
Visual C++
public:
static bool operator <(
	WorksetId^ WorksetId1, 
	WorksetId^ WorksetId2
)

Parameters

WorksetId1
Type: Autodesk.Revit.DBWorksetId
The first WorksetId.
WorksetId2
Type: Autodesk.Revit.DBWorksetId
The second WorksetId.

Return Value

True if the first WorksetId is less than the second WorksetId, otherwise, false.

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 →