次の方法で共有


IVsShell Members

Include Protected Members
Include Inherited Members

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

The IVsShell type exposes the following members.

Methods

  Name Description
Public method AdviseBroadcastMessages Enables clients to receive messages that are typically broadcast only to the main application window.
Public method AdviseShellPropertyChanges Enables clients to receive notifications of property changes to the environment.
Public method GetPackageEnum Returns a standard enumerator to iterate through the VSPackages currently loaded by the environment.
Public method GetProperty Returns an environment property.
Public method IsPackageInstalled Determines whether a VSPackage identified by guidPackage is installed and registered with the system.
Public method IsPackageLoaded Determines whether a VSPackage identified by the package GUID (guidPackage) is loaded in the environment.
Public method LoadPackage Triggers a VSPackage implementation DLL to be loaded into the environment.
Public method LoadPackageString Directly loads a localized string from a VSPackage satellite DLL.
Public method LoadUILibrary Triggers the satellite DLL to load if it has not already done so.
Public method SetProperty Sets an environment property.
Public method UnadviseBroadcastMessages Disables clients from receiving messages typically broadcast only to the main application window.
Public method UnadviseShellPropertyChanges Disables clients from receiving notifications of property changes to the environment.

Top

See Also

Reference

IVsShell Interface

Microsoft.VisualStudio.Shell.Interop Namespace