Share via


SourceLocationTracker.CalculateNewLocation(SourceLocation, String) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Calculates the new ___location of the source.

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

Parameters

lastPosition
SourceLocation

The last position.

newContent
String

The new content.

Returns

The new source ___location.

Applies to