Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
All VSPackages must implement the IVsPackage interface. Visual Studio calls the methods of IVsPackage to initialize and close VSPackages, to get associated property pages, and for other reasons. The IVsPackage interface is the gateway interface between Visual Studio and a VSPackage.
You can write a managed VSPackage as a subclass of the Package class, which implements IVsPackage on your behalf. For more information, see Managed VSPackages.
Note
Much of the unmanaged sample code in the Visual Studio Integration section of the Visual Studio SDK uses the Active Template Library (ATL). You do not need to use ATL to create VSPackages, but you must understand ATL to understand the sample code.