TemplateGroup 构造函数

定义

初始化 TemplateGroup 类的新实例。

重载

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 对象。

另请参阅

适用于