SourceLocation.Equals Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> boolPublic Overrides Function Equals (obj As Object) As BooleanParameters
- 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 -> boolPublic Function Equals (other As SourceLocation) As BooleanParameters
- other
- SourceLocation
The object to compare to.
Returns
true if the current object is equal to the other object; otherwise, false.