Share via


Span.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 of the span content.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Length As Integer 
    Get
'Usage
Dim instance As Span 
Dim value As Integer 

value = instance.Length
public override int Length { get; }
public:
virtual property int Length {
    int get () override;
}
abstract Length : int 
override Length : int
override function get Length () : int

Property Value

Type: System.Int32
The length of the span content.

See Also

Reference

Span Class

System.Web.Razor.Parser.SyntaxTree Namespace