다음을 통해 공유


Microsoft.VisualStudio.Shell Namespace

Classes

  Class Description
Public class ActivityLog
Public class CommonMessagePump CommonMessagePump allows callers to block the current thread until a handle or handles have been signaled.
Public class DefaultRegistryRootAttribute Defines the default registry root used to register VSPackage information. This class cannot be inherited.
Public class DesignPropertyDescriptor A specialization of PropertyDescriptor that allows customization of the display name of the property in the property grid.
Public class DialogContainerWithToolbar Use this class to implement modal forms in Visual Studio. The implementation enables the form to host a Visual Studio command bar so that it participates in standard command routing.
Public class DialogPage Provides a standard dialog box functionality for implementing Toolbox property sheets, ToolsOptions pages, or custom UI dialog boxes, with support for the Visual Studio automation model, Windows Forms, and state persistence by using the Visual Studio settings mechanism.
Protected class DialogPage.PageApplyEventArgs Event arguments that allow the OnApply method to indicate how to handle the apply event.
Public class EnumerableComCollection<TComEnumerator, TEnumerated>
Public class ErrorListProvider This task provider is used to provide tasks for the Visual Studio Error List window.
Public class ErrorTask Represents an error task on the Task List. This class implements IVsErrorItem.
Public class EventSinkCollection Maps objects to and from event "cookies" that represent a client's registration with an event provider.
Public class InstalledProductRegistrationAttribute Provides information for the Visual Studio splash screen and the Help About dialog box when applied to a Package-derived class or a class that implements IVsPackage. This class cannot be inherited.
Public class LocalizableProperties LocalizableProperties provides a class that supplies custom type information on localizable properties for an object.
Public class LocDisplayNameAttribute Specifies the localizable display name for a property, event, or public void method which takes no arguments.
Public class MsiComponentIdAttribute Defines the Windows Installer component ID. The component ID is used by the Windows Installer to indicate the installation path to the VSPackage.
Public class MsiTokenAttribute Defines a token string for the MSI installer.
Public class OleDataObject Provides a managed class that implements the IOleDataObject interface.
Public class OleMenuCmdEventArgs The set of arguments passed to an OleMenuCommand object when the Invoke function is called.
Public class OleMenuCommand This class is an expansion of the MenuCommand class.
Public class OleMenuCommandService This class derives from the MenuCommandService class and implements IOleCommandTarget. MenuCommandService is the managed class used to add handlers for menu commands and to define verbs.
Public class Package Provides a managed implementation of the VSIP interfaces required to create a fully functional VSPackage.
Public class PackageRegistrationAttribute Modify your class that implements IVsPackage by using this attribute so that the registration tool, RegPkg.exe, will look for additional attributes. For more information, see Registering VSPackages.
Public class PackageUtilities A set of static utilities for filenames, paths, enumeration/string conversions, images, and other functions.
Public class PropertyPageTypeConverterAttribute The class representing the attribute describing how to convert property values on property pages in a package. Use this attribute rather than TypeConverterAttribute.
Public class ProvideAssemblyFilterAttribute Describes the assemblies that the IConfigureToolboxItem class supports.
Public class ProvideAutoLoadAttribute Apply this attribute to your VSPackage class to cause it to be automatically loaded when a specified UI context is active. This class cannot be inherited.
Public class ProvideAutomationObjectAttribute Modifying your Package-derived class with this attribute declares that it provides a particular automation object.
Public class ProvideEditorExtensionAttribute Associates a file extension to a given editor factory when applied to a class that inherits from Package or implements the interface IVsPackage.
Public class ProvideEditorFactoryAttribute This attribute declares that the VSPackage provides an editor factory.
Public class ProvideEditorLogicalViewAttribute Adds a logical view to the editor created by an editor factory.
Public class ProvideExtenderAttribute Provides an extender for Visual Studio. This class cannot be inherited.
Public class ProvideKeyBindingTableAttribute Provides a key binding table GUID. By putting this attribute on your Package-derived class or class that implements IVsPackage you will declare that it has the given key binding (KEYBINDINGS_SECTION – KEYBINDINGS_END) table in its Command Table Configuration (.Ctc) Files.
Public class ProvideLanguageCodeExpansionAttribute Registers language service support for code snippets.
Public class ProvideLanguageEditorOptionPageAttribute Informs Visual Studio about a language service property page.
Public class ProvideLanguageEditorToolsOptionCategoryAttribute This attribute is used to declare a Tools Option category for a language.
Public class ProvideLanguageExtensionAttribute Associates a file extension with a particular language service.
Public class ProvideLanguageServiceAttribute Informs Visual Studio that a VSPackage provides a language service. Used with the managed package framework (MPF).
Public class ProvideLoadKeyAttribute This attribute provides a package load key for your package.
Public class ProvideMenuResourceAttribute Provides registration information about menu resources used in a VSPackage. This class cannot be inherited.
Public class ProvideObjectAttribute Informs Visual Studio that the VSPackage provides an object that can be created from the ILocalRegistryinterface. This class cannot be inherited.
Public class ProvideOptionDialogPageAttribute The base class for all the attributes that are used to register an option page.
Public class ProvideOptionPageAttribute Apply this attribute to independent objects to allow users to configure VSPackages through a custom Tools Options page.
Public class ProvideProfileAttribute Apply this attribute to independent objects used to implement a VSPackage's Visual Studio settings support.
Public class ProvideProjectFactoryAttribute ProvideProjectFactoryAttribute declares that a package provides a project factory.
Public class ProvideProjectItemAttribute This attribute registers items to be included in the Add New Item dialog for the specified project type. It is placed on a VSPackage.
Public class ProvideServiceAttribute This attribute indicates that the package proffers a service when applied to a subclass of Package or a class that implements IVsPackage.
Public class ProvideStaticToolboxGroupAttribute This attribute declares a toolbox group which will be created on toolbox initialization.
Public class ProvideStaticToolboxItemAttribute This attribute declares a toolbox item which the toolbox will read from the registry. See comments on IVsToolboxItemProvider in vsshell100.idl for more details.
Public class ProvideToolboxFormatAttribute Apply this attribute to classes implementing VSPackages to declare that the VSPackage provides Toolbox items with the specified clipboard format and to enable drag-and-drop support in the Visual Studio Toolbox.
Public class ProvideToolboxItemConfigurationAttribute Registers a VSPackage as supplying a particular implementation of IConfigureToolboxItem. Used in conjunction with ProvideAssemblyFilterAttribute.
Public class ProvideToolboxItemsAttribute Apply this attribute to classes implementing VSPackages to declare if they offer a set of items to the Visual Studio Toolbox.
Public class ProvideToolboxPageAttribute Registers a VSPackage as providing one or more dialog pages in the Customize Toolbox dialog page of the Visual Studio IDE.
Public class ProvideToolWindowAttribute Notifies Visual Studio that a VSPackage owns a tool window.
Public class ProvideToolWindowVisibilityAttribute Maps a tool window to one or more UI contexts, so that the window is displayed when the user switches to one of those contexts and is hidden when the user switches away from one of the contexts.
Public class ProvideViewAttribute This attribute declares that an editor factory class offers a particular logical view.
Public class RegisterAutoLoadAttribute Obsolete. Registers the VSPackage as an extender that is automatically loaded in response to a particular context GUID. This class cannot be inherited.
Public class RegisterEditorExtensionAttribute Obsolete. See ProvideEditorExtensionAttribute. Registers a file extension with a given editor factory. This class cannot be inherited.
Public class RegisterEditorLogicalViewAttribute Obsolete. Adds a logical view to the editor created by an editor factory. This attribute has been deprecated. Please use ProvideEditorLogicalViewAttribute instead.
Public class RegisterExtenderAttribute Obsolete. Registers an extender with Visual Studio. This class cannot be inherited. This class is obsolete. Please use ProvideExtenderAttribute instead.
Public class RegisterLanguageExtensionAttribute Obsolete. Registers a file extension with a given language service by applying the attribute to a Package-derived class or class that implements IVsPackage when registered using a registration tool like regpkg.exe. For more information, see Registering VSPackages.
Public class RegisterLoadKeyAttribute Obsolete. Registers a Package load key with the VSPackage. This class cannot be inherited.
Public class RegisterProjectItemAttribute Obsolete. RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead
Public class RegistrationAttribute Infrastructure. An abstract class for VSPackage registration. The RegistrationAttribute class allows new registration information to be added without changing the registration tools.
Public class RegistrationAttribute.Key Provides an abstract class that represents a registration key.
Public class RegistrationAttribute.RegistrationContext An abstract base class for objects providing context information from an external source to a registration attribute.
Public class RunningDocumentTable Provides access to the Running Document Table (RDT) that tracks all currently opened documents in Visual Studio.
Public class SelectionContainer Provides a unified interface for accessing a set of selected objects.
Public class ServiceCollection<T>
Public class ServiceProvider Provides a unified service provider for managed VSPackages.
Public class ServiceProviderHierarchy A hierarchical service provider that stores IServiceProvider objects in a sorted collection for an ordered retrieval. When GetService is called to retrieve a service, the service providers are queried in a specific order. This is useful when multiple service providers are combined, such as in the WindowPane implementation.
Public class ServiceProviderHierarchyOrder Provides a recommended service resolution order for common service providers. When multiple service providers are combined in a service provider hierarchy, they are given a numeric ordering.
Public class SettableOleDataObject
Public class Task An implementation of IVsTaskItem, used to modify the appearance and functionality of a task in the task list.
Public class TaskProvider This class implements IVsTaskProvider. It provides a framework-friendly way to define a task provider and its associated services.
Public class TaskProvider.TaskCollection A container for Task objects.
Public class ThreadHelper Provide a generic dispatcher helper ensure that a method is invoked on the Application's main thread.
Public class ToolWindowPane A default implementation for a tool window. It can be subclassed to implement a customized tool window.
Public class Url Wraps the Uri class. Provides an unescaped version of LocalPath for file URL types and AbsoluteUri for HTTP URL types. Also returns an unescaped result from MakeRelativeUri so that it can be presented to the user.
Public class VsBrushes Class used to map between VSCOLOR identifiers (used by IVsUIShell2.GetVSSysColorEx) and keys used by WPF ResourceDictionaries. The keys provided by this class can be used to reference System.Windows.Media.Brush instances that Visual Studio places in Application.Current.Resources.
Public class VsColors Map between VSCOLOR identifiers (used by GetVSSysColorEx and keys used by Windows Presentation Foundation ResourceDictionary objects.
Public class VsMenus Includes the GUIDs for Visual Studio menu commands.
Public class VSRegistry Provides utility functions for discovering the registry hive under which Visual Studio is currently running.
Public class VsServiceProviderWrapper
Public class VsShellUtilities Provides static helper methods to use with the Visual Studio shell.
Public class WindowPane A default implementation of a tool window pane. This class implements IVsWindowPane, but the implementer must provide an implementation of an object that returns an IWin32Window. This class also implements IOleCommandTarget, maps it to IMenuCommandService and IObjectWithSite, and maps the site to services that can be queried through its protected GetService method.

Structures

  Structure Description
Public structure RunningDocumentInfo Represents information about a document in the RunningDocumentTable. It includes all the information returned by GetDocumentInfo.

Interfaces

  Interface Description
Public interface IComEnumeratorRelay<TComEnumerator, TEnumerated>
Public interface IConfigureToolboxItem Provides the ability to configure ToolboxItem objects dynamically by adding additional data to the toolbox item's Properties dictionary. This data is then serialized as a permanent part of the toolbox item.
Public interface IMenuCommandInvokeEx
Public interface IOleMenuCommand
Public interface IProfileManager Interface implemented by classes supporting VSPackages by persisting their state information through the Visual Studio settings mechanism.
Public interface IProfileMigrator
Public interface IResXResourceService An abstraction layer that lets clients control the resx readers and writers used within Visual Studio.
Public interface SVsServiceProvider

Enumerations

  Enumeration Description
Public enumeration CommonMessagePumpExitCode
Public enumeration DialogPage.ApplyKind An enumeration that describes dialog page apply behavior.
Public enumeration LogicalView This enumeration lists the supported logical views.
Public enumeration ProfileMigrationType
Public enumeration RegistrationMethod Specifies how the assembly should be registered or located.
Public enumeration TaskCategory Provides a set of task categories that specify the kind of task that is to be performed.
Public enumeration TaskErrorCategory Represents a collection of values that identify types or severity of error messages that can appear in the Error List Options task window.
Public enumeration TaskPriority Provides values for task priorities.
Public enumeration ToolWindowOrientation This enumeration provides a number of possible tool window orientations with respect to a docking window.
Public enumeration VsDockStyle Defines constants for tool window orientation.
Protected enumeration WindowPane.PaneInitializationMode Represents the possible initialization states for a WindowPane object.