Share via


RazorError.Length Property

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

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

Syntax

'Declaration
Public Property Length As Integer 
    Get 
    Private Set
'Usage
Dim instance As RazorError 
Dim value As Integer 

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

Property Value

Type: System.Int32
The length for the error.

See Also

Reference

RazorError Class

System.Web.Razor.Parser.SyntaxTree Namespace