共用方式為


TextPoint.GreaterThan(TextPoint) Method

Definition

Indicates whether or not 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 object 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.

Attributes

Remarks

GreaterThan throws a ArgumentException exception if Point is not in the same document as the calling point object.

Applies to