共用方式為


SourceLocation.Subtraction(SourceLocation, SourceLocation) 運算子

定義

減去兩 SourceLocation 個 。

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

參數

left
SourceLocation

左運算元。

right
SourceLocation

右運算元。

傳回

SourceLocation 表示左運算元和右運算元的差異。

例外狀況

FilePath如果左右運算元的 不同,則為 。

適用於