EditPoint2::LessThan Method (TextPoint^)

 

Returns whether the value of the called EditPoint object's AbsoluteCharOffset is less than that of the given TextPoint object.

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

bool LessThan(
	TextPoint^ Point
)

Parameters

Point
Type: EnvDTE::TextPoint^

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

Return Value

Type: System::Boolean

true if Point has a greater AbsoluteCharOffset property value than the calling point object's AbsoluteCharOffset property; otherwise, false.

LessThan throws a ArgumentException if Point is not in the same document as the calling point object. With the VirtualPoint object, LessThan 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: