Note: This API is now obsolete.
Returns an ObjectIdCollection of the specified label type on the alignment.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1276
Syntax
C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.GetAvailableLabelGroupIds instead.", false)] public static ObjectIdCollection GetAvailableLabelGroups( ObjectId alignmentId, bool includeDerived )
VB
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.GetAvailableLabelGroupIds instead.", false)> Public Shared Function GetAvailableLabelGroups ( alignmentId As ObjectId, includeDerived As Boolean ) As ObjectIdCollection
C++
public: [ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.AlignmentStationLabelGroup.GetAvailableLabelGroupIds instead.", false)] static ObjectIdCollection^ GetAvailableLabelGroups( ObjectId alignmentId, bool includeDerived )
Parameters
- alignmentId ObjectId
- The ObjectId of the alignment where the labels are located.
- includeDerived Boolean
- Indicates whether to include the derived label types.
Return Value
ObjectIdCollectionExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when alignmentId is invalid. |