Share via


SourceLocation.Equals Method

Definition

Overloads

Equals(Object)

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 object.

Equals(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.

Equals(Object)

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 object.

public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare to.

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to

Equals(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.

public bool Equals (System.Web.Razor.Text.SourceLocation other);
override this.Equals : System.Web.Razor.Text.SourceLocation -> bool
Public Function Equals (other As SourceLocation) As Boolean

Parameters

other
SourceLocation

The object to compare to.

Returns

true if the current object is equal to the other object; otherwise, false.

Implements

Applies to