TextPoint.LessThan Method
Indicates whether or not the value of the called object's AbsoluteCharOffset property is less than that of the given object.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Function LessThan ( _
Point As TextPoint _
) As Boolean
bool LessThan(
TextPoint Point
)
bool LessThan(
[InAttribute] TextPoint^ Point
)
abstract LessThan :
Point:TextPoint -> bool
function LessThan(
Point : TextPoint
) : boolean
Parameters
Point
Type: EnvDTE.TextPointRequired. A TextPoint to compare to the calling point object.
Return Value
Type: System.Boolean
A Boolean value indicating true if Point has a greater AbsoluteCharOffset property value compared to the calling point object's AbsoluteCharOffset property.
Remarks
LessThan throws a ArgumentException if Point is not in the same document as the calling point object.
.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