Compartilhar via


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.

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

Parameters

Point
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.

Implements

Attributes

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