TextPoint.EqualTo Method

Returns whether the value of the given point object's AbsoluteCharOffset property is equal to that of the calling TextPoint object.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)


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


Return Value

Type: System.Boolean
A Boolean value indicating true if Point has the same AbsoluteCharOffset property value as the calling point object.


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

.NET Framework Security

See Also


TextPoint Interface

EnvDTE Namespace

Other Resources

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