Megosztás a következőn keresztül:


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)

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. GreaterThan compares the virtual positions if the argument is a VirtualPoint; otherwise it compares the "physical" positions.

.NET Framework Security

See Also

Reference

VirtualPoint Interface

EnvDTE Namespace

Other Resources

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