Udostępnij za pośrednictwem


SourceLocation.Subtraction(SourceLocation, SourceLocation) Operator

Definicja

Odejmuje dwa SourceLocations.

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

Parametry

left
SourceLocation

Lewy operand.

right
SourceLocation

Prawy operand.

Zwraca

Jest SourceLocation to różnica w operandach po lewej i prawej stronie.

Wyjątki

FilePath jeśli lewy i prawy operandy są inne.

Dotyczy