Share via


Block.Equals Method

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

Determines whether the specified object is equal to the current block.

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As Block 
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
abstract Equals : 
        obj:Object -> bool  
override Equals : 
        obj:Object -> bool
public override function Equals(
    obj : Object
) : boolean

Parameters

  • obj
    Type: System.Object
    The object to compare with the current object.

Return Value

Type: System.Boolean
true if the specified object is equal to the current block; otherwise, false.

See Also

Reference

Block Class

System.Web.Razor.Parser.SyntaxTree Namespace