Style.GetTemplate(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
System::Web::UI::ITemplate ^ GetTemplate(System::String ^ templateName);
public System.Web.UI.ITemplate GetTemplate (string templateName);
member this.GetTemplate : string -> System.Web.UI.ITemplate
Public Function GetTemplate (templateName As String) As ITemplate
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
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.