共用方式為


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

Return Value

Type: System.Boolean
true if both sets of options are the same, otherwise false.

.NET Framework Security

See Also

Reference

EditOptions Structure

Microsoft.VisualStudio.Text Namespace