VirtualPoint.GreaterThan(TextPoint) VirtualPoint.GreaterThan(TextPoint) VirtualPoint.GreaterThan(TextPoint) Method

Definition

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

[System.Runtime.InteropServices.DispId(33)]
public bool GreaterThan (EnvDTE.TextPoint Point);
abstract member GreaterThan : EnvDTE.TextPoint -> bool
Public Function GreaterThan (Point As TextPoint) As Boolean
Parameters
Point
TextPoint TextPoint TextPoint

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

Returns

A Boolean value indicating true if Point has a smaller AbsoluteCharOffset property value compared to the calling point object's AbsoluteCharOffset property.

Remarks

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.

Applies to