EditorOptionKey<T>.Equality Operator
Determines whether two instances of this type are the same.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Декларация
Public Shared Operator = ( _
left As EditorOptionKey(Of T), _
right As EditorOptionKey(Of T) _
) As Boolean
public static bool operator ==(
EditorOptionKey<T> left,
EditorOptionKey<T> right
)
public:
static bool operator ==(
EditorOptionKey<T> left,
EditorOptionKey<T> right
)
static let inline (=)
left:EditorOptionKey<'T> *
right:EditorOptionKey<'T> : bool
JScript does not support overloaded operators.
Parameters
- left
Type: Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T>
The left-hand editor option key.
- right
Type: Microsoft.VisualStudio.Text.Editor.EditorOptionKey<T>
The right-hand editor option key.
Return Value
Type: System.Boolean
true if the two keys are the same, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.