Adds a new component using the default parameters in a specified position.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public void AddComponent( int position )
VB
Public Sub AddComponent ( position As Integer )
C++
public: void AddComponent( int position )
Parameters
- position Int32
- The position of the new component in relation to existing components.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the position is less than 0 or greater than the component's count. |