ModelSpan.Equals Method
Gets a value that indicates whether the current ModelSpan object is identical to the specified object.
Namespace: System.Web.Mvc.Razor
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As ModelSpan
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
public:
virtual bool Equals(
Object^ obj
) override
public override function Equals(
obj : Object
) : boolean
Parameters
- obj
Type: System.Object
The model span object.
Return Value
Type: System.Boolean
true if the current ModelSpan object is identical to the specified object; otherwise, false.