GetAvailableLabelGroupIds Method

Returns an ObjectIdCollection of labels on the profile of a specified type.

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

Syntax

C#

public static ObjectIdCollection GetAvailableLabelGroupIds(
	Type labelGroupClassType,
	ObjectId sectionViewId,
	ObjectId sectionId,
	bool includeDerived
)

Visual Basic

Public Shared Function GetAvailableLabelGroupIds ( _
	labelGroupClassType As Type, _
	sectionViewId As ObjectId, _
	sectionId As ObjectId, _
	includeDerived As Boolean _
) As ObjectIdCollection

Visual C++

public:
static ObjectIdCollection^ GetAvailableLabelGroupIds(
	Type^ labelGroupClassType, 
	ObjectId sectionViewId, 
	ObjectId sectionId, 
	bool includeDerived
)

Parameters

labelGroupClassType
Type: System.Type
The type of the label group class.
sectionViewId
Type: ObjectId
The ObjectId of the SectionView where the label groups are located.
sectionId
Type: ObjectId
The ObjectId of the Section 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 classType is not the type or derived type of SectionLabelGroup.
  • The sectionViewId or sectionId is invalid.

See Also