Compartilhar via


CaretPosition.Equality(CaretPosition, CaretPosition) Operator

Definition

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.

Applies to