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

VirtualPoint.GreaterThan Method

Returns whether the value of the calling object's AbsoluteCharOffset property is greater than that of the given point object.

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

bool GreaterThan(
	TextPoint 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 smaller AbsoluteCharOffset property value compared to the calling point object's AbsoluteCharOffset property.

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

© 2015 Microsoft