Share via


TemplateFileInfo Constructor

Initializes a new instance of the TemplateFileInfo class by using the specified virtual path.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Sub New ( _
    virtualPath As String _
)
'Usage
Dim virtualPath As String 

Dim instance As New TemplateFileInfo(virtualPath)
public TemplateFileInfo(
    string virtualPath
)
public:
TemplateFileInfo(
    String^ virtualPath
)
new : 
        virtualPath:string -> TemplateFileInfo
public function TemplateFileInfo(
    virtualPath : String
)

Parameters

Remarks

The virtual path can be retrieved later by using the VirtualPath property.

See Also

Reference

TemplateFileInfo Class

System.Web.WebPages Namespace