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
- left
Type: System.Web.Razor.Generator.GeneratedCodeMapping
The left generated code mapping objects.
- right
Type: System.Web.Razor.Generator.GeneratedCodeMapping
The right generated code mapping objects.
Return Value
Type: System.Boolean
true if the two specified generated code mapping objects have the same value; otherwise, false.