ToolboxItem::AssemblyName Property
Gets or sets the name of the assembly that contains the type or types that the toolbox item creates.
Assembly: System.Drawing (in System.Drawing.dll)
public: property AssemblyName^ AssemblyName { AssemblyName^ get (); void set (AssemblyName^ value); }
Property Value
Type: System.Reflection::AssemblyNameAn AssemblyName that indicates the assembly containing the type or types to create.
The AssemblyName property specifies the assembly that contains the types of the components to create.
Notes to InheritorsIf 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 ToolboxItem::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, because it is displayed in the Customize Toolbox dialog box in Visual Studio.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.