OrdinalEvent.Equality Operator
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines if two OrdinalEvents are equal.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Shared Operator = ( _
first As OrdinalEvent, _
second As OrdinalEvent _
) As Boolean
'Usage
Dim first As OrdinalEvent
Dim second As OrdinalEvent
Dim returnValue As Boolean
returnValue = (first = second)
public static bool operator ==(
OrdinalEvent first,
OrdinalEvent second
)
public:
static bool operator ==(
OrdinalEvent^ first,
OrdinalEvent^ second
)
static let inline (=)
first:OrdinalEvent *
second:OrdinalEvent : bool
JScript does not support overloaded operators.
Parameters
- first
Type: Microsoft.VisualStudio.TraceLog.OrdinalEvent
The first OrdinalEvent to compare.
- second
Type: Microsoft.VisualStudio.TraceLog.OrdinalEvent
The second OrdinalEvent to compare.
Return Value
Type: System.Boolean
true if the OrdinalEvents are equal.
.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.