System.Web.UI.TemplateControl.LoadTemplate Method

Obtains an instance of the System.Web.UI.ITemplate interface from an external file.

Syntax

public ITemplate LoadTemplate (string virtualPath)

Parameters

virtualPath
The virtual path to a user control file.

Returns

An instance of the specified template.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0