Returns a collection of object ids pointing to all the available band label groups that match the specified runtimeClass in the profile view.

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

Syntax

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

Parameters

runtimeClass
Type: RXClass
The type of the label group class.
profileViewId
Type: ObjectId
The objectId of the profile view where the label groups are located.
includeDerived
Type: System..::..Boolean
Indicates whether to include the derived types of HorizontalGeometryBandLabelGroup.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  • The runtimeClass is not a child class of ProfileBandLabelGroup.
  • The profileViewId is invalid.

See Also