MobileControl.GetTemplate(String) Method

Definition

Returns the template with the specified name. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public virtual System.Web.UI.ITemplate GetTemplate(string templateName);

Parameters

templateName
String

The name of the specified template.

Returns

The template with the specified name.

Remarks

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

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also