Adds a new component using the default parameters in a specified position.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when the position is less than 0 or greater than the component's count.
|
See Also