DeviceSpecific.GetTemplate Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the template with the specified name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public ITemplate GetTemplate(
	string templateName
)

Parameters

templateName
Type: System.String

The name of the specified template.

Return Value

Type: System.Web.UI.ITemplate

The template with the specified templateName.

Returns null if the control is not templated, or if the template does not exist in the selected template set.

.NET Framework
Available since 1.1
Return to top
Show: