SourceLocation.Equals 方法

定义

重载

Equals(SourceLocation)
Equals(Object)

Equals(SourceLocation)

指示当前对象是否等于同一类型的另一个对象。

public:
 virtual bool Equals(Microsoft::AspNetCore::Razor::SourceLocation other);
public bool Equals (Microsoft.AspNetCore.Razor.SourceLocation other);
override this.Equals : Microsoft.AspNetCore.Razor.SourceLocation -> bool
Public Function Equals (other As SourceLocation) As Boolean

参数

返回

实现

适用于

Equals(Object)

指示此实例与指定对象是否相等。

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

参数

obj
Object

返回

适用于