Share via


RazorError.Location Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the source location of the error.

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

Syntax

'Declaration
Public Property Location As SourceLocation 
    Get 
    Private Set
'Usage
Dim instance As RazorError 
Dim value As SourceLocation 

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

Property Value

Type: System.Web.Razor.Text.SourceLocation
The source location of the error.

See Also

Reference

RazorError Class

System.Web.Razor.Parser.SyntaxTree Namespace