語言

TemplateGroup 建構函式

定義

初始化 TemplateGroup 類別的新執行個體。

多載

名稱 Description
TemplateGroup(String)

使用所提供的名稱初始化該 TemplateGroup 類別的新實例。

TemplateGroup(String, Style)

初始化該類別的新實例 TemplateGroup ,使用提供的名稱與樣式。

TemplateGroup(String)

使用所提供的名稱初始化該 TemplateGroup 類別的新實例。

public:
 TemplateGroup(System::String ^ groupName);
public TemplateGroup(string groupName);
new System.Web.UI.Design.TemplateGroup : string -> System.Web.UI.Design.TemplateGroup
Public Sub New (groupName As String)

參數

groupName
String

群組的名稱。

另請參閱

適用於

TemplateGroup(String, Style)

初始化該類別的新實例 TemplateGroup ,使用提供的名稱與樣式。

public:
 TemplateGroup(System::String ^ groupName, System::Web::UI::WebControls::Style ^ groupStyle);
public TemplateGroup(string groupName, System.Web.UI.WebControls.Style groupStyle);
new System.Web.UI.Design.TemplateGroup : string * System.Web.UI.WebControls.Style -> System.Web.UI.Design.TemplateGroup
Public Sub New (groupName As String, groupStyle As Style)

參數

groupName
String

群組的名稱。

groupStyle
Style

一個 Style 要套用到群組模板的物件。

另請參閱

適用於