AssemblyName Property

ToolboxItem.AssemblyName Property

Gets or sets the name of the assembly that contains the type or types that the toolbox item creates.

Namespace:  System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

public AssemblyName AssemblyName { get; set; }

Property Value

Type: System.Reflection.AssemblyName
An 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 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 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, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft