Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LessThan Method
Collapse the table of content
Expand the table of content

VirtualPoint.LessThan Method

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.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
A Boolean value indicating true if Point has a greater AbsoluteCharOffset property value compared to the calling point object's AbsoluteCharOffset property.

LessThan throws a System.ArgumentException if Point is not in the same document as the calling point object. LessThan compares the virtual positions if the argument is a VirtualPoint; otherwise it compares the "physical" positions.

Show:
© 2015 Microsoft