共用方式為


SourceLocationTracker.CalculateNewLocation(SourceLocation, String) 方法

定義

此類型/成員支援.NET Framework基礎結構,不適合直接從您的程式碼使用。計算來源的新位置。

public static System.Web.Razor.Text.SourceLocation CalculateNewLocation (System.Web.Razor.Text.SourceLocation lastPosition, string newContent);
static member CalculateNewLocation : System.Web.Razor.Text.SourceLocation * string -> System.Web.Razor.Text.SourceLocation
Public Shared Function CalculateNewLocation (lastPosition As SourceLocation, newContent As String) As SourceLocation

參數

lastPosition
SourceLocation

最後位置。

newContent
String

新內容。

傳回

新來源位置。

適用於