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
- Point
Type: EnvDTE.TextPoint
Required. A TextPoint to compare to the calling point object.
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.
Implements
TextPoint.GreaterThan(TextPoint)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples