共用方式為


IVsShell5 Interface

Definition

Provides additional access to the fundamental environment services, specifically those dealing with VSPackages and the registry.

public interface class IVsShell5
public interface class IVsShell5
__interface IVsShell5
public interface IVsShell5
[System.Runtime.InteropServices.Guid("0963C9C9-1083-4BAF-B3F0-55139F708821")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsShell5
type IVsShell5 = interface
[<System.Runtime.InteropServices.Guid("0963C9C9-1083-4BAF-B3F0-55139F708821")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsShell5 = interface
Public Interface IVsShell5
Derived
Attributes

Methods

CreatePackageExtension(Guid, Guid, Guid)

Loads, if necessary, the specified package and creates an instance of the given type of extension point using IVsPackageExtensionProvider.

LoadPackageWithContext(Guid, Int32, Guid)

Loads a package. If the package is not already loaded, this method provides additional diagnostic information about the reason for loading. Negative reason codes are reserved by the environment.

Applies to