Share via


SourceLocation.Equals Method (SourceLocation)

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

Determines whether the current SourceLocation object is equal to the other SourceLocation object.

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

Syntax

'Declaration
Public Function Equals ( _
    other As SourceLocation _
) As Boolean
'Usage
Dim instance As SourceLocation 
Dim other As SourceLocation 
Dim returnValue As Boolean 

returnValue = instance.Equals(other)
public bool Equals(
    SourceLocation other
)
public:
virtual bool Equals(
    SourceLocation other
) sealed
abstract Equals : 
        other:SourceLocation -> bool  
override Equals : 
        other:SourceLocation -> bool
public final function Equals(
    other : SourceLocation
) : boolean

Parameters

Return Value

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

Implements

IEquatable<T>.Equals(T)

See Also

Reference

SourceLocation Structure

Equals Overload

System.Web.Razor.Text Namespace