ToolboxCategory 构造函数

定义

创建 ToolboxCategory 类的实例。Creates an instance of the ToolboxCategory class.

重载

ToolboxCategory()

创建 ToolboxCategory 类的实例。Creates an instance of the ToolboxCategory class.

ToolboxCategory(String)

用指定的名称创建 ToolboxCategory 类的实例。Creates an instance of the ToolboxCategory class with a specified name.

ToolboxCategory()

创建 ToolboxCategory 类的实例。Creates an instance of the ToolboxCategory class.

public:
 ToolboxCategory();
public ToolboxCategory ();
Public Sub New ()

注解

分配ToolboxCategory给集合的默认名称为空stringThe default name assigned to the ToolboxCategory collection is an empty string.

ToolboxCategory(String)

用指定的名称创建 ToolboxCategory 类的实例。Creates an instance of the ToolboxCategory class with a specified name.

public:
 ToolboxCategory(System::String ^ name);
public ToolboxCategory (string name);
new System.Activities.Presentation.Toolbox.ToolboxCategory : string -> System.Activities.Presentation.Toolbox.ToolboxCategory
Public Sub New (name As String)

参数

name
String

工具箱类别集合的名称。The name of the toolbox category collection.

注解

分配ToolboxCategory给集合的名称可以为空stringThe name assigned to the ToolboxCategory collection can be an empty string. 这是无参数构造函数ToolboxCategory指定的值。This is the value assigned by the parameterless constructor, ToolboxCategory.

适用于