Returns an ObjectId collection of labels on the alignment of a specified type.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
public static ObjectIdCollection GetAvailableLabelGroups(
	RXClass rxClass,
	ObjectId alignmentId,
	bool includeDerived
)
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentLabelGroup.GetAvailableLabelGroupIds instead.",  _
	False)> _
Public Shared Function GetAvailableLabelGroups ( _
	rxClass As RXClass, _
	alignmentId As ObjectId, _
	includeDerived As Boolean _
) As ObjectIdCollection
Visual C++
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.AlignmentLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
public:
static ObjectIdCollection^ GetAvailableLabelGroups(
	RXClass^ rxClass, 
	ObjectId alignmentId, 
	bool includeDerived
)

Parameters

rxClass
Type: RXClass
Type of the labels.
alignmentId
Type: ObjectId
ObjectId of the alignment where the labels are located.
includeDerived
Type: System..::..Boolean
Indicates whether to include the derived types of the specified type.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the rxClass or alignmentId is invalid.

See Also