Поделиться через


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

Return Value

Type: System.Boolean
true if the two keys are the same, otherwise false.

.NET Framework Security

See Also

Reference

EditorOptionKey<T> Structure

Microsoft.VisualStudio.Text.Editor Namespace