Share via


GeneratedCodeMapping.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 specified generated code mapping objects have the same value.

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

Syntax

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

returnValue = (left = right)
public static bool operator ==(
    GeneratedCodeMapping left,
    GeneratedCodeMapping right
)
public:
static bool operator ==(
    GeneratedCodeMapping left, 
    GeneratedCodeMapping right
)
static let inline(=)
        left:GeneratedCodeMapping * 
        right:GeneratedCodeMapping  : 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 specified generated code mapping objects have the same value; otherwise, false.

See Also

Reference

GeneratedCodeMapping Structure

System.Web.Razor.Generator Namespace