Condividi tramite


SourceLocation.Subtraction(SourceLocation, SourceLocation) Operatore

Definizione

Sottrae due 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

Parametri

left
SourceLocation

Operando sinistro.

right
SourceLocation

Operando destro.

Restituisce

Oggetto SourceLocation che rappresenta la differenza degli operandi sinistro e destro.

Eccezioni

se l'oggetto FilePath degli operandi sinistro e destro è diverso.

Si applica a