NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Page.LoadTemplate

Obtains an instance of the ITemplate interface from an external file.

[Visual Basic]
Public Function LoadTemplate( _
   ByVal virtualPath As String _
) As ITemplate
[C#]
public ITemplate LoadTemplate(
   string virtualPath
);
[C++]
public: ITemplate* LoadTemplate(
   String* virtualPath
);
[JScript]
public function LoadTemplate(
   virtualPath : String
) : ITemplate;

Parameters

virtualPath
The virtual path to the template file.

Return Value

Returns an instance of the specified template.

See Also

Page Class | Page Members | System.Web.UI Namespace