Export (0) Print
Expand All

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 */
public AssemblyName get_AssemblyName ()

/** @property */
public void set_AssemblyName (AssemblyName value)

public function get AssemblyName () : AssemblyName

public function set AssemblyName (value : AssemblyName)

Not applicable.

Property Value

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 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft