SourceLocation.Equality(SourceLocation, SourceLocation) 运算符

定义

确定操作数是否相等。

public:
 static bool operator ==(Microsoft::AspNetCore::Razor::SourceLocation left, Microsoft::AspNetCore::Razor::SourceLocation right);
public static bool operator == (Microsoft.AspNetCore.Razor.SourceLocation left, Microsoft.AspNetCore.Razor.SourceLocation right);
static member ( = ) : Microsoft.AspNetCore.Razor.SourceLocation * Microsoft.AspNetCore.Razor.SourceLocation -> bool
Public Shared Operator == (left As SourceLocation, right As SourceLocation) As Boolean

参数

left
SourceLocation

左操作数。

right
SourceLocation

右操作数。

返回

true 如果 leftright 相等,则为 。

适用于