Removes the specified CogoPoint from the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void Remove(
ObjectId pointId
) |
Visual Basic |
---|
Public Sub Remove ( _
pointId As ObjectId _
) |
Visual C++ |
---|
public:
void Remove(
ObjectId pointId
) |
Parameters
- pointId
- Type: ObjectId
Examples
CopyC#
1
2CogoPointCollection cogoPoints = _civildoc.CogoPoints;
3
4
5cogoPoints.Remove(pointNumber);
6
7
8cogoPoints.Remove(pointId2);
9
10
11cogoPoints.Clear();
CopyVB.NET
1
2Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints
3
4
5cogoPoints.Remove(pointNumber)
6
7
8cogoPoints.Remove(pointId2)
9
10
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when the remove operation fails.
|
See Also