TextPoint.EqualTo(TextPoint) TextPoint.EqualTo(TextPoint) TextPoint.EqualTo(TextPoint) Method

Definition

Returns whether the value of the given point object's AbsoluteCharOffset property is equal to that of the calling TextPoint object.

[System.Runtime.InteropServices.DispId(31)]
public bool EqualTo (EnvDTE.TextPoint Point);
abstract member EqualTo : EnvDTE.TextPoint -> bool
Public Function EqualTo (Point As TextPoint) As Boolean
Parameters
Point
TextPoint TextPoint TextPoint

Required. A TextPoint object to compare to the calling point object.

Returns

A Boolean value indicating true if Point has the same AbsoluteCharOffset property value as the calling point object.

Remarks

EqualTo throws a ArgumentException exception if Point is not in the same document as the calling point object.

Applies to