Compartilhar via


VirtualPoint.LessThan(TextPoint) Method

Definition

Returns whether the value of the called object's AbsoluteCharOffset property is less than that of the given object.

public:
 bool LessThan(EnvDTE::TextPoint ^ Point);
public:
 bool LessThan(EnvDTE::TextPoint ^ Point);
bool LessThan(EnvDTE::TextPoint const & Point);
[System.Runtime.InteropServices.DispId(32)]
public bool LessThan (EnvDTE.TextPoint Point);
[<System.Runtime.InteropServices.DispId(32)>]
abstract member LessThan : EnvDTE.TextPoint -> bool
Public Function LessThan (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 greater AbsoluteCharOffset property value compared to the calling point object's AbsoluteCharOffset property.

Implements

Attributes

Remarks

LessThan throws a System.ArgumentException if Point is not in the same document as the calling point object. LessThan compares the virtual positions if the argument is a VirtualPoint; otherwise it compares the "physical" positions.

Applies to