ToolboxItem.AssemblyName Property
Gets or sets the name of the assembly that contains the type or types that the toolbox item creates.
[Visual Basic] Public Property AssemblyName As AssemblyName [C#] public AssemblyName AssemblyName {get; set;} [C++] public: __property AssemblyName* get_AssemblyName(); public: __property void set_AssemblyName(AssemblyName*); [JScript] public function get AssemblyName() : AssemblyName; public function set AssemblyName(AssemblyName);
Property Value
An AssemblyName that indicates the assembly containing the type or types to create.
Remarks
This property specifies the assembly that contains the type(s) of the component(s), to create.
Notes to Inheritors: If your derived toolbox item class creates multiple components that are located in different assemblies, you must ensure that references to these assemblies exist in your project. It is advisable to add these references from an overload of the CreateComponentsCore method. Even if your CreateComponentsCore method does not depend on the value of the AssemblyName property, you should ensure that this property is set to the assembly that one of the components to create belongs to, since it is displayed in the Customize Toolbox dialog box in Visual Studio .NET.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace | AssemblyName