IncrementalSearchResult.Equality Operator
Determines whether the contents of two IncrementalSearchResult objects are the same.
Namespace: Microsoft.VisualStudio.Text.IncrementalSearch
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
声明
Public Shared Operator = ( _
first As IncrementalSearchResult, _
second As IncrementalSearchResult _
) As Boolean
public static bool operator ==(
IncrementalSearchResult first,
IncrementalSearchResult second
)
public:
static bool operator ==(
IncrementalSearchResult first,
IncrementalSearchResult second
)
static let inline (=)
first:IncrementalSearchResult *
second:IncrementalSearchResult : bool
JScript does not support overloaded operators.
Parameters
- first
Type: Microsoft.VisualStudio.Text.IncrementalSearch.IncrementalSearchResult
The first result.
- second
Type: Microsoft.VisualStudio.Text.IncrementalSearch.IncrementalSearchResult
The second result.
Return Value
Type: System.Boolean
true if both objects have the same content, 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.