共用方式為


IVsToolbox3 Interface

Definition

Provides persistence and localization support for a Toolbox. Extends, but does not inherit from, IVsToolbox2. You can get an instance of the interface from the SVsToolbox (SID_SVsToolbox) service.

public interface class IVsToolbox3
public interface class IVsToolbox3
__interface IVsToolbox3
[System.Runtime.InteropServices.Guid("5C67B771-43AD-4BCF-9342-E82CF8E4CBFD")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsToolbox3
[<System.Runtime.InteropServices.Guid("5C67B771-43AD-4BCF-9342-E82CF8E4CBFD")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsToolbox3 = interface
Public Interface IVsToolbox3
Attributes

Remarks

The methods of IVsToolbox3 enable a package to manipulate locale-independent identifiers for Toolbox tabs. These identifiers support vssettings and the Import/Export Settings feature.

For information about how to use IVsToolbox3 as well as IVsToolbox2 and IVsToolbox, see How to: Provide Custom Toolbox Items By Using Interop Assemblies.

Methods

GetGeneralTabID(String)

Gets the ID for the General tab.

GetIDOfTab(String, String)

Retrieves the canonical ID for the given localized name of the Toolbox tab.

GetItemDisplayName(IDataObject, String)

Gets the display name of an item.

GetItemID(IDataObject, String)

Gets the unique ID of a item.

GetLastModifiedTime(SYSTEMTIME[])

Returns the most recent time at which the Toolbox contents were modified.

GetTabOfID(String, String)

Retrieves the localized name of a Toolbox tab, given its canonical ID.

SetIDOfTab(String, String)

Sets the canonical ID for the given Toolbox tab.

Applies to