共用方式為


IVsToolbox7.AddItem2Async(IDataObject, TBXITEMINFO[], String, Guid) Method

Definition

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ AddItem2Async(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pDO, cli::array <Microsoft::VisualStudio::Shell::Interop::TBXITEMINFO> ^ ptif, System::String ^ lpszTab, Guid % guidPkg);
public Microsoft.VisualStudio.Shell.Interop.IVsTask AddItem2Async (Microsoft.VisualStudio.OLE.Interop.IDataObject pDO, Microsoft.VisualStudio.Shell.Interop.TBXITEMINFO[] ptif, string lpszTab, ref Guid guidPkg);
abstract member AddItem2Async : Microsoft.VisualStudio.OLE.Interop.IDataObject * Microsoft.VisualStudio.Shell.Interop.TBXITEMINFO[] * string * Guid -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function AddItem2Async (pDO As IDataObject, ptif As TBXITEMINFO(), lpszTab As String, ByRef guidPkg As Guid) As IVsTask

Parameters

ptif
TBXITEMINFO[]
lpszTab
String
guidPkg
Guid

Returns

Applies to