Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TextPoint.EqualTo Method

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

bool EqualTo(
	TextPoint Point


Type: EnvDTE.TextPoint

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

Return Value

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

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

© 2015 Microsoft