Share via


LocationTagged<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 LocationTaggedUTP object are equal.

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

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

returnValue = (left = right)
public static bool operator ==(
    LocationTagged<T> left,
    LocationTagged<T> right
)
public:
static bool operator ==(
    LocationTagged<T>^ left, 
    LocationTagged<T>^ right
)
static let inline(=)
        left:LocationTagged<'T> * 
        right:LocationTagged<'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 object are equal; otherwise, false.

See Also

Reference

LocationTagged<T> Class

System.Web.Razor.Text Namespace