ModelSpan Constructor

Initializes a new instance of the ModelSpan class.

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

Syntax

'Declaration
Public Sub New ( _
    start As SourceLocation, _
    content As String, _
    modelTypeName As String _
)
'Usage
Dim start As SourceLocation
Dim content As String
Dim modelTypeName As String

Dim instance As New ModelSpan(start, content, _
    modelTypeName)
public ModelSpan(
    SourceLocation start,
    string content,
    string modelTypeName
)
public:
ModelSpan(
    SourceLocation start, 
    String^ content, 
    String^ modelTypeName
)
public function ModelSpan(
    start : SourceLocation, 
    content : String, 
    modelTypeName : String
)

Parameters

See Also

Reference

ModelSpan Class

System.Web.Mvc.Razor Namespace