GetAvailableLabelIds Method

Gets the ObjectIdCollection of all GeneralSegmentLabels for a feature.

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

Syntax

C#

public static ObjectIdCollection GetAvailableLabelIds(
	ObjectId featureId
)

Visual Basic

Public Shared Function GetAvailableLabelIds ( _
	featureId As ObjectId _
) As ObjectIdCollection

Visual C++

public:
static ObjectIdCollection^ GetAvailableLabelIds(
	ObjectId featureId
)

Parameters

featureId
Type: ObjectId
The ObjectId of a feature object (Line, Arc, Polyline or Featureline).

Remarks

featureId should be the ObjectId of a Line, Arc, Polyline or Featureline.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the featureId is invalid.

See Also