Partilhar via


EditorOptionKey<T>.Equality Operator

Definition

Determines whether two instances of this type are the same.

public:
 static bool operator ==(Microsoft::VisualStudio::Text::Editor::EditorOptionKey<T> left, Microsoft::VisualStudio::Text::Editor::EditorOptionKey<T> right);
 static bool operator ==(Microsoft::VisualStudio::Text::Editor::EditorOptionKey<T> left, Microsoft::VisualStudio::Text::Editor::EditorOptionKey<T> right);
public static bool operator == (Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T> left, Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T> right);
static member ( = ) : Microsoft.VisualStudio.Text.Editor.EditorOptionKey<'T> * Microsoft.VisualStudio.Text.Editor.EditorOptionKey<'T> -> bool
Public Shared Operator == (left As EditorOptionKey(Of T), right As EditorOptionKey(Of T)) As Boolean

Parameters

left
EditorOptionKey<T>

The left-hand editor option key.

right
EditorOptionKey<T>

The right-hand editor option key.

Returns

true if the two keys are the same, otherwise false.

Applies to