EditPoint::EqualTo Method (TextPoint^)

 

Returns a value indicating whether the value of the given point object's AbsoluteCharOffset is equal to that of the calling EditPoint 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 EditPoint point object.

Return Value

Type: System::Boolean

true if Point has the same AbsoluteCharOffset property value as the calling EditPoint point object; otherwise, false.

EqualTo throws a ArgumentException exception if Point is not in the same document as the calling point object. With the VirtualPoint, EqualTo compares the virtual positions if the argument is a VirtualPoint. Otherwise, it compares the "physical" positions.

No code example is currently available or this language may not be supported.
Return to top
Show: