SourceLocation.Advance Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Advances the specified object to the given location.
Namespace: System.Web.Razor.Text
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Shared Function Advance ( _
left As SourceLocation, _
text As String _
) As SourceLocation
'Usage
Dim left As SourceLocation
Dim text As String
Dim returnValue As SourceLocation
returnValue = SourceLocation.Advance(left, _
text)
public static SourceLocation Advance(
SourceLocation left,
string text
)
public:
static SourceLocation Advance(
SourceLocation left,
String^ text
)
static member Advance :
left:SourceLocation *
text:string -> SourceLocation
public static function Advance(
left : SourceLocation,
text : String
) : SourceLocation
Parameters
- left
Type: System.Web.Razor.Text.SourceLocation
The location where to advance the object.
- text
Type: System.String
The text that advances to the given location.
Return Value
Type: System.Web.Razor.Text.SourceLocation
The source location.