ToolboxItemWrapper.AssemblyName 属性

定义

获取或设置工具箱项的程序集名称。Gets or sets the assembly name for the toolbox item.

public:
 property System::String ^ AssemblyName { System::String ^ get(); void set(System::String ^ value); };
public string AssemblyName { get; set; }
member this.AssemblyName : string with get, set
Public Property AssemblyName As String

属性值

String

程序集名称。The assembly name.

例外

在初始化相应的 ToolboxItem 之后,已指定程序集名称,并且不能对其进行更改。The assembly name has already been specified and cannot be changed after the corresponding ToolboxItem has been initialized.

注解

如果更改了程序集名称,将引发一个事件,指示该属性值已更改。If the assembly name is changed, an event is raised to indicate that the property value has been changed. 设置操作是幂等的:如果程序集名称设置为它已经具有的值,则不做更改。The set operation is idempotent: if the assembly name is set to a value that it already has, there is no change.

适用于