Freigeben über


SourceLocationTracker.CalculateNewLocation(SourceLocation, String) Methode

Definition

Dieser Typ/Member unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code vorgesehen. Berechnet den neuen Speicherort der Quelle.

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

Parameter

lastPosition
SourceLocation

Die letzte Position.

newContent
String

Der neue Inhalt.

Gibt zurück

Der neue Quellspeicherort.

Gilt für: