VirtualPoint.EqualTo(TextPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether the value of the given TextPoint object's AbsoluteCharOffset property is equal to that of the calling VirtualPoint object.
public:
bool EqualTo(EnvDTE::TextPoint ^ Point);
public:
bool EqualTo(EnvDTE::TextPoint ^ Point);
bool EqualTo(EnvDTE::TextPoint const & Point);
[System.Runtime.InteropServices.DispId(31)]
public bool EqualTo (EnvDTE.TextPoint Point);
[<System.Runtime.InteropServices.DispId(31)>]
abstract member EqualTo : EnvDTE.TextPoint -> bool
Public Function EqualTo (Point As TextPoint) As Boolean
Parameters
Returns
A Boolean value indicating true
if Point
has the same AbsoluteCharOffset property value as the calling point object.
Implements
- Attributes
Remarks
EqualTo throws an ArgumentException exception if Point
is not in the same document as the calling point object. EqualTo compares the virtual positions if the argument is a VirtualPoint; otherwise it compares the "physical" positions.