Share via


ParserContext.LastSpan Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the last span.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Property LastSpan As Span 
    Get 
    Private Set
'Usage
Dim instance As ParserContext 
Dim value As Span 

value = instance.LastSpan
public Span LastSpan { get; private set; }
public:
property Span^ LastSpan {
    Span^ get ();
    private: void set (Span^ value);
}
member LastSpan : Span with get, private set
function get LastSpan () : Span 
private function set LastSpan (value : Span)

Property Value

Type: System.Web.Razor.Parser.SyntaxTree.Span
The last span.

See Also

Reference

ParserContext Class

System.Web.Razor.Parser Namespace