CogoPointCollectionRemove(UInt32) Method |
Removes the CogoPoint with the given pointNumber from the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void Remove(
uint pointNumber
)
Public Sub Remove (
pointNumber As UInteger
)
public:
void Remove(
unsigned int pointNumber
)
Parameters
- pointNumber UInt32
-
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the remove operation fails.
|
Remarks
This method does not throw an exception if called with a pointNumber that does not exist in the collection.
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