Determines whether the collection contains a CogoPoint with the given pointNumber.

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

Syntax

C#
public bool Contains(
	uint pointNumber
)
Visual Basic
Public Function Contains ( _
	pointNumber As UInteger _
) As Boolean
Visual C++
public:
bool Contains(
	unsigned int pointNumber
)

Parameters

pointNumber
Type: System..::..UInt32

Examples

CopyC#
1// _civildoc is the active CivilDocument instance.
2CogoPointCollection cogoPoints = _civildoc.CogoPoints;
3
4uint pointNumber = 100;
5_editor.WriteMessage("\nDocument contains point #{0}: {1}",
6    pointNumber, cogoPoints.Contains(pointNumber));
CopyVB.NET
1' _civildoc is the active CivilDocument instance.
2Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints
3
4Dim pointNumber As UInteger = 100

See Also