CaretPosition.Equality(CaretPosition, CaretPosition) Operator
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.
Determines whether two CaretPosition objects are the same.
public:
static bool operator ==(Microsoft::VisualStudio::Text::Editor::CaretPosition caretPosition1, Microsoft::VisualStudio::Text::Editor::CaretPosition caretPosition2);
static bool operator ==(Microsoft::VisualStudio::Text::Editor::CaretPosition caretPosition1, Microsoft::VisualStudio::Text::Editor::CaretPosition caretPosition2);
public static bool operator == (Microsoft.VisualStudio.Text.Editor.CaretPosition caretPosition1, Microsoft.VisualStudio.Text.Editor.CaretPosition caretPosition2);
static member ( = ) : Microsoft.VisualStudio.Text.Editor.CaretPosition * Microsoft.VisualStudio.Text.Editor.CaretPosition -> bool
Public Shared Operator == (caretPosition1 As CaretPosition, caretPosition2 As CaretPosition) As Boolean
Parameters
- caretPosition1
- CaretPosition
The first CaretPosition object.
- caretPosition2
- CaretPosition
The second CaretPosition object.
Returns
true
if the two objects are the same, otherwise false.