AddComponent Method

Adds a new component using the default parameters in a specified position.

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

Syntax

C#

public void AddComponent(
	int position
)

Visual Basic

Public Sub AddComponent ( _
	position As Integer _
)

Visual C++

public:
void AddComponent(
	int position
)

Parameters

position
Type: System.Int32
The position of the new component in relation to existing components.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the position is less than 0 or greater than the component's count.

See Also