CogoPointCollectionRemove(ObjectId) Method |
Removes the specified CogoPoint from the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void Remove(
ObjectId pointId
)
Public Sub Remove (
pointId As ObjectId
)
public:
void Remove(
ObjectId pointId
)
Parameters
- pointId ObjectId
-
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the remove operation fails.
|
Example 1
2CogoPointCollection cogoPoints = _civildoc.CogoPoints;
3
4
5cogoPoints.Remove(pointNumber);
6
7
8cogoPoints.Remove(pointId2);
9
10
11cogoPoints.Clear();
1
2Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints
3
4
5cogoPoints.Remove(pointNumber)
6
7
8cogoPoints.Remove(pointId2)
9
10
No code example is currently available or this language may not be supported.
See Also