共用方式為


IVsToolboxService.AddToolboxItem Method

Definition

Overloads

AddToolboxItem(ToolboxItem, String, IVsAddToolboxItems)
AddToolboxItem(ToolboxItem, String, IEnumerable<FrameworkName>, Guid)

AddToolboxItem(ToolboxItem, String, IVsAddToolboxItems)

public:
 void AddToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category, Microsoft::VisualStudio::Shell::Interop::IVsAddToolboxItems ^ adder);
public void AddToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category, Microsoft.VisualStudio.Shell.Interop.IVsAddToolboxItems adder);
abstract member AddToolboxItem : System.Drawing.Design.ToolboxItem * string * Microsoft.VisualStudio.Shell.Interop.IVsAddToolboxItems -> unit
Public Sub AddToolboxItem (toolboxItem As ToolboxItem, category As String, adder As IVsAddToolboxItems)

Parameters

toolboxItem
ToolboxItem
category
String

Applies to

AddToolboxItem(ToolboxItem, String, IEnumerable<FrameworkName>, Guid)

public:
 void AddToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category, System::Collections::Generic::IEnumerable<System::Runtime::Versioning::FrameworkName ^> ^ supportedFrameworkNames, Guid itemProvider);
public void AddToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category, System.Collections.Generic.IEnumerable<System.Runtime.Versioning.FrameworkName> supportedFrameworkNames, Guid itemProvider);
abstract member AddToolboxItem : System.Drawing.Design.ToolboxItem * string * seq<System.Runtime.Versioning.FrameworkName> * Guid -> unit
Public Sub AddToolboxItem (toolboxItem As ToolboxItem, category As String, supportedFrameworkNames As IEnumerable(Of FrameworkName), itemProvider As Guid)

Parameters

toolboxItem
ToolboxItem
category
String
supportedFrameworkNames
IEnumerable<FrameworkName>
itemProvider
Guid

Applies to