Style.GetTemplate(String) メソッド

定義

指定された名前のテンプレートを返します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「ASP.NET を使用した Mobile Apps & サイト」を参照してください。

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

パラメーター

templateName
String

テンプレートの名前。

戻り値

指定した名前を持つテンプレート。

注釈

nullコントロールがテンプレート化されていない場合、または選択したテンプレート セットにテンプレートが存在しない場合は を返します。

適用対象

こちらもご覧ください