Compartilhar via


TextPoint.GreaterThan Method

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

Syntax

'Declaration
Function GreaterThan ( _
    Point As TextPoint _
) As Boolean
bool GreaterThan(
    TextPoint Point
)
bool GreaterThan(
    [InAttribute] TextPoint^ Point
)
abstract GreaterThan : 
        Point:TextPoint -> bool
function GreaterThan(
    Point : TextPoint
) : boolean

Parameters

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.

Remarks

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

.NET Framework Security

See Also

Reference

TextPoint Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples