共用方式為


CSharpCodeWriter.BuildLineMapping(SourceLocation, Int32, String) 方法

定義

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpLineMappingWriter ^ BuildLineMapping(Microsoft::AspNetCore::Razor::SourceLocation documentLocation, int contentLength, System::String ^ sourceFilename);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter BuildLineMapping (Microsoft.AspNetCore.Razor.SourceLocation documentLocation, int contentLength, string sourceFilename);
member this.BuildLineMapping : Microsoft.AspNetCore.Razor.SourceLocation * int * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpLineMappingWriter
Public Function BuildLineMapping (documentLocation As SourceLocation, contentLength As Integer, sourceFilename As String) As CSharpLineMappingWriter

參數

documentLocation
SourceLocation
contentLength
Int32
sourceFilename
String

傳回

適用於