EditOptions.Equality Operator
Determines whether two EditOption objects are the same.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣告
Public Shared Operator = ( _
left As EditOptions, _
right As EditOptions _
) As Boolean
public static bool operator ==(
EditOptions left,
EditOptions right
)
public:
static bool operator ==(
EditOptions left,
EditOptions right
)
static let inline (=)
left:EditOptions *
right:EditOptions : bool
JScript does not support overloaded operators.
Parameters
- left
Type: Microsoft.VisualStudio.Text.EditOptions
The left-hand set of options.
- right
Type: Microsoft.VisualStudio.Text.EditOptions
The right-hand set of options.
Return Value
Type: System.Boolean
true if both sets of options 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.