Returns an ObjectIdCollection of the specified label type on the alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.GetAvailableLabelGroupIds instead.", false)] public static ObjectIdCollection GetAvailableLabelGroups( ObjectId alignmentId, bool includeDerived )
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.GetAvailableLabelGroupIds instead.", _ False)> _ Public Shared Function GetAvailableLabelGroups ( _ alignmentId As ObjectId, _ includeDerived As Boolean _ ) As ObjectIdCollection
Visual C++
public: [ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.GetAvailableLabelGroupIds instead.", false)] static ObjectIdCollection^ GetAvailableLabelGroups( ObjectId alignmentId, bool includeDerived )
Parameters
- alignmentId
- Type: ObjectId
The ObjectId of the alignment where the labels are located.
- includeDerived
- Type: System.Boolean
Indicates whether to include the derived label types.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when alignmentId is invalid. |