SourceLocation.GreaterThan(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

适用于