Export (0) Print
Expand All

VirtualPoint.EqualTo Method

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

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

bool EqualTo(
	TextPoint Point
)

Parameters

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 an ArgumentException exception if Point is not in the same document as the calling point object. EqualTo compares the virtual positions if the argument is a VirtualPoint; otherwise it compares the "physical" positions.

Show:
© 2014 Microsoft