Compartilhar via


SourceLocation.Subtraction(SourceLocation, SourceLocation) Operador

Definição

Subtrai dois 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

Parâmetros

left
SourceLocation

O operando esquerdo.

right
SourceLocation

O operando direito.

Retornos

Um SourceLocation que é a diferença dos operandos esquerdo e direito.

Exceções

se o FilePath dos operandos esquerdo e direito forem diferentes.

Aplica-se a