Returns the ObjectId collection of labels on the profile of a specified type.

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

Syntax

C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
public static ObjectIdCollection GetAvailableLabelGroups(
	RXClass runtimeClass,
	ObjectId profileViewId,
	ObjectId profileId,
	bool includeDerived
)
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileLabelGroup.GetAvailableLabelGroupIds instead.",  _
	False)> _
Public Shared Function GetAvailableLabelGroups ( _
	runtimeClass As RXClass, _
	profileViewId As ObjectId, _
	profileId As ObjectId, _
	includeDerived As Boolean _
) As ObjectIdCollection
Visual C++
public:
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.ProfileLabelGroup.GetAvailableLabelGroupIds instead.", 
	false)]
static ObjectIdCollection^ GetAvailableLabelGroups(
	RXClass^ runtimeClass, 
	ObjectId profileViewId, 
	ObjectId profileId, 
	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.
profileId
Type: ObjectId
The objectId of the profile where the label groups are located.
includeDerived
Type: System..::..Boolean
Indicates whether to include the derived types of the specified type.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  • The runtimeClass is not a kind of ProfileLabelGroup.
  • The profileId or profileViewId is invalid.

See Also