CSharpCodeWriter.WriteLineNumberDirective(SourceLocation, String) Metodo

Definizione

Scrive una #line direttiva pragma per il numero di riga in corrispondenza dell'oggetto specificato location.

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteLineNumberDirective(Microsoft::AspNetCore::Razor::SourceLocation location, System::String ^ file);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteLineNumberDirective (Microsoft.AspNetCore.Razor.SourceLocation location, string file);
member this.WriteLineNumberDirective : Microsoft.AspNetCore.Razor.SourceLocation * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteLineNumberDirective (location As SourceLocation, file As String) As CSharpCodeWriter

Parametri

location
SourceLocation

Posizione per cui generare il pragma della riga.

file
String

File per cui generare il pragma della riga.

Restituisce

L'istanza corrente di CSharpCodeWriter.

Si applica a