Share via


PositionTagged<T>.Equality Operator

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Determines whether the two objects are equal.

Namespace:  System.Web.WebPages.Instrumentation
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    left As PositionTagged(Of T), _
    right As PositionTagged(Of T) _
) As Boolean
'Usage
Dim left As PositionTagged(Of T)
Dim right As PositionTagged(Of T)
Dim returnValue As Boolean 

returnValue = (left = right)
public static bool operator ==(
    PositionTagged<T> left,
    PositionTagged<T> right
)
public:
static bool operator ==(
    PositionTagged<T>^ left, 
    PositionTagged<T>^ right
)
static let inline(=)
        left:PositionTagged<'T> * 
        right:PositionTagged<'T>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the two objects are equal; otherwise, false.

See Also

Reference

PositionTagged<T> Class

System.Web.WebPages.Instrumentation Namespace