TemplatedControlDesigner.GetTextFromTemplate Method

Gets a string of text that represents the specified template.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

protected:
String^ GetTextFromTemplate (
	ITemplate^ template
)
protected String GetTextFromTemplate (
	ITemplate template
)
protected function GetTextFromTemplate (
	template : ITemplate
) : String
Not applicable.

Parameters

template

The ITemplate to convert to text.

Return Value

A string that represents the specified template.

Exception typeCondition

ArgumentNullException

template is a null reference (Nothing in Visual Basic).

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: