共用方式為


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 相等,則為 。

適用於