Removes PressurePipeRun from the collection by the specified index.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.3.1717.0
Syntax
C#
public void RemoveAt( int index, bool removeParts, bool removePath )
Visual Basic
Public Sub RemoveAt ( _ index As Integer, _ removeParts As Boolean, _ removePath As Boolean _ )
Visual C++
public: void RemoveAt( int index, bool removeParts, bool removePath )
Parameters
- index
- Type: System.Int32
Specifies index in the collection to remove.
- removeParts
- Type: System.Boolean
Specifies whether to delete all the parts along the pipe run.
- removePath
- Type: System.Boolean
Specifies whether to delete the underlying alignment.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Throw when the specified PressurePipeRun cannot be found in the collection. |