RemoveAt Method

Removes the component from the collection by the specified index.

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

Syntax

C#

public void RemoveAt(
	int index
)

Visual Basic

Public Sub RemoveAt ( _
	index As Integer _
)

Visual C++

public:
void RemoveAt(
	int index
)

Parameters

index
Type: System.Int32
The index in the collection.

Exceptions

ExceptionCondition
System.ArgumentOutOfRangeException Thrown when index is out of the collecton range.
System.InvalidOperationException Thrown when:
  1. Only one component exists.
  2. The offset type of previous or next component specified by the index is SlopePatternOffsetType::Divide.

See Also