GetAvailableLabelGroupIds Method

Returns an ObjectIdCollection of the specified label type on the alignment.

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

Syntax

C#

public static ObjectIdCollection GetAvailableLabelGroupIds(
	ObjectId alignmentId,
	bool includeDerived
)

Visual Basic

Public Shared Function GetAvailableLabelGroupIds ( _
	alignmentId As ObjectId, _
	includeDerived As Boolean _
) As ObjectIdCollection

Visual C++

public:
static ObjectIdCollection^ GetAvailableLabelGroupIds(
	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 derived label types.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when alignmentId is invalid.

See Also