Share via


LocationTagged<T> Constructor (T, SourceLocation)

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

Initializes a new instance of the LocationTagged<T> class.

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

Syntax

'Declaration
Public Sub New ( _
    value As T, _
    location As SourceLocation _
)
'Usage
Dim value As T
Dim location As SourceLocation 

Dim instance As New LocationTagged(value, location)
public LocationTagged(
    T value,
    SourceLocation location
)
public:
LocationTagged(
    T value, 
    SourceLocation location
)
new : 
        value:'T * 
        location:SourceLocation -> LocationTagged
public function LocationTagged(
    value : T, 
    location : SourceLocation
)

Parameters

  • value
    Type: T
    The value of the source.

See Also

Reference

LocationTagged<T> Class

LocationTagged<T> Overload

System.Web.Razor.Text Namespace