VSConstants Members
Include Protected Members
Include Inherited Members
Use this class to access common Visual Studio constants.
The VSConstants type exposes the following members.
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Fields
Name
Description
Use this legacy GUID to access a specific output pane.
Use this legacy GUID to access a specific output pane.
An obsolete flag combined bitwise as the first parameter of the method CreateEditorInstance.
Combined bitwise as the first parameter of the method CreateEditorInstance, this indicates the editor factory should perform necessary corrections.
Combined bitwise as the first parameter of the method CreateEditorInstance, this flag is mutually exclusive with CEF_CLONEFILE.
Indicates the editor factory should create the editor silently.
The document's data is HTML format.
GUID of the HTML package.
GUID of the HTML language service.
CLSID_MiscellaneousFilesProject
CLSID for Miscellaneous Files project.
Project type CLSID for Solution Items project.
CLSID_VsCfgProviderEventsHelper
Provide notifications when configuration-related events are fired. Implemented by the environment.
The CLSID of the document outline package window.
The CLSID for Visual Studio Environment Package.
The CLSID for Visual Studio Environment Task List.
The CLSID for Visual Studio Environment Task List Package.
The CLSID for Visual Studio Environment Hierarchy Window.
On the Tools menu, the command for options.
Sent from a page dialog to Component Selector dialog, informs of selection change on page.
Sent from a page dialog to Component Selector dialog, informs of a double click on a selected item.
Resets and clears selection in list of available components on the Component Selector dialog.
Retrieves information about selection on the Component Selector dialog.
Initializes the list of available components on the Component Selector dialog.
Initializes a tab with Variant in VSCOMPONENTSELECTORTABINIT on the Component Selector dialog.
Determine whether the Select button should be enabled on the Component Selector dialog.
Sets the multiple-selection mode on the Component Selector dialog.
Use this legacy GUID to access a specific output pane.
An HRESULT that indicates that the array is currently locked.
A COM return value.
A return value that indicates subscript out of range.
An error return value that indicates that the number of elements provided to the method is different from the number of arguments accepted by the method.
One of the method arguments is not a valid variant type.
A return error that indicates the destination token buffer is too small.
A return error that indicates a divide by zero error.
This return value indicates that the call generated an exception. The usual implementation is to specify that an argument of the method that returned this error is a pointer to a structure that contains exception information.
A return value indicating that the requested member does not exist, or the call to Invoke tried to set the value of a read-only property.
A return value indicating that the invoked implementation of IDispatch does not support named arguments.
A return value indicating an unexpected argument type.
An error that indicates that a value could not be coerced to its expected representation.
A return value that indicates that one of the parameter DISPIDs does not correspond to a parameter on the method.
A return value that indicates that a required parameter was omitted.
A return value that indicates that one or more of the parameters could not be coerced.
A return value that indicates that the interface identifier passed in riid is not equal to IID_NULL.
A return value that indicates that the member being invoked interprets string arguments according to the Locale ID (LCID), and the LCID is not recognized. If the LCID is not needed to interpret arguments, this error should not be returned.
A return value that indicates that one or more of the names were not known. The returned DISPIDs contain DISPID_UNKNOWN for each entry that corresponds to an unknown name.
A constant referenced in selection events to describe which component of the shell has just been selected.
A return value that may indicate an explicit cancellation action or some process that could no longer proceed after (for instance) both undo and rollback failed.
A return value that describes a general access denied error.
Error HRESULT for a generic failure.
A return value that indicates an invalid handle.
Error HRESULT for an invalid argument.
Error HRESULT for the request of a not implemented interface.
Error HRESULT for the call to a method that is not implemented.
Error HRESULT for out of memory.
A return value that indicates the availability of an asynchronously accessed interface.
A return value that indicates that an invalid pointer, usually nulla null reference (Nothing in Visual Basic), was passed as a parameter.
A return value that indicates that the result of the method call is outside of the error cases the client code can readily handle.
This constant represents the GUID for the interface IVsOutputWindowPane which is implemented by the shell's OutputWindow tool window. It is used by client code to display messages in the output window.
A Visual Studio component selector page GUID.
A Visual Studio component selector page GUID.
A common system defined editor GUID.
A common editor GUID.
GUID_HTMEDAllowExistingDocData
GUID used to mark a VsTextBuffer in order to tell to the HTML editor factory to accept preexisting doc data.
GUID of the HTML editor factory.
A GUID constant used to specify that the type is a physical file on disk or the Web.
A GUID constant used to specify that the type is a physical folder on disk or the Web.
A GUID constant used to specify that the type is a nested hierarchy project.
A GUID constant used to specify that the type is a non-physical folder.
A GUID constant used to specify the debug pane inside the output window.
The GUID of the pseudo service that returns the General output pane SID_SVsGeneralOutputWindowPane in the VS environment.
A Visual Studio component selector page GUID.
GUID of the Text editor factory.
String resource ID for Visual Studio pseudo-folder.
This GUID identifies the standard set of commands known by Visual Studio 97 (version 6).
The GUID for the highest abstraction task lists.
GUID_VsTaskListViewCheckedTasks
The GUID for a certain flavor or task lists.
GUID_VsTaskListViewCommentTasks
The GUID for a certain flavor or task lists.
GUID_VsTaskListViewCompilerTasks
The GUID for a certain flavor or task lists.
GUID_VsTaskListViewCurrentFileTasks
The GUID for a certain flavor or task lists.
The GUID for a certain flavor or task lists.
GUID_VsTaskListViewShortcutTasks
The GUID for a certain flavor or task lists.
GUID_VsTaskListViewUncheckedTasks
The GUID for a certain flavor or task lists.
The GUID for a certain flavor or task lists.
A GUID that defines the command group related to the hierarchy window.
GUID of the IUnknown COM interface.
GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to the OpenStandardEditor method to get the Open With dialog, in this case on possible Code Views.
GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to the OpenStandardEditor method to get the Open With dialog, in this case populated with possible LOGVIEWID_Debugging debugging views which map to the same view as LOGVIEWID_Code.
GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to the OpenStandardEditor method to get the Open With dialog, in this case to View Form designer views.
GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to OpenStandardEditor method to get the Open With dialog, in this case the default/primary view of the editor factory.
GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to OpenStandardEditor method to get the Open With dialog, in this for a document or data text editor view.
GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to OpenStandardEditor method which prompts the user to choose which user-defined view to use.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
A legacy OLE error.
The user was prompted to save but chose the Cancel button from the prompt message box.
The cache is for a static object and it already has a cache node.
The versions of COMPOBJ.DLL and OLE2.DLL on your machine are incompatible with each other.
Describes what component of the shell has just been selected.
HRESULT for false.
Generic HRESULT for success.
The name of the Visual Studio service that implements IOleCommandTarget.
SID_SVsGeneralOutputWindowPane
Returns an IID_IVsOutputWindowPane interface of the General output pane in the Visual Studio environment.
SID_SVsToolboxActiveXDataProvider
A Visual Studio toolbox service.
A constant referenced in selection events to describe which component of the shell has just been selected, in this case in response to project startup.
Returns the GUID of the command associated with a change in UI context.
Specifies that UI context is the switch to a debugging window.
Returns the GUID of the command associated with a change to design mode in UI context.
Returns the GUID of the command associated with the UI drag/drop operation.
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_EmptySolution to return the GUID of the command associated with this UI state. In this case the UI context is an empty solution.
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_FullScreenMode to return the GUID of the command associated with this UI state. In this case the UI context is that the Full Screen command from the View menu has been selected.
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_NoSolution to return the GUID of the command associated with this UI state. In this case the UI context is that there is no solution.
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_SolutionBuilding to return the GUID of the command associated with this UI state. In this case the UI context is Build solution or build project mode is in effect.
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_SolutionExists to return the GUID of the command associated with this UI state. In this case the UI context is that a solution exists, though the number of projects loaded is not pertinent to this call.
UICONTEXT_SolutionHasMultipleProjects
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_SolutionHasMultipleProjects to return the GUID of the command associated with this UI state. In this case the UI context is that a solution exists and has multiple projects loaded.
UICONTEXT_SolutionHasSingleProject
Packages may define a command that is associated with a change in UI context. Use UICONTEXT_SolutionHasMultipleProjects to return the GUID of the command associated with this UI state. In this case the UI context is that a solution exists and has a single project loaded.
Error HRESULT for a client abort.
A constant referenced in selection events to describe which component of the shell has just been selected.
A constant referenced in selection events to describe which component of the shell has just been selected.
VS_BUILDABLEPROJECTCFGOPTS_BUILD_ACTIVE_DOCUMENT_ONLY
VS_BUILDABLEPROJECTCFGOPTS_BUILD_SELECTION_ONLY
VS_BUILDABLEPROJECTCFGOPTS_PRIVATE
VS_BUILDABLEPROJECTCFGOPTS_REBUILD
A constant returned by interfaces to asynchronous behavior when the object in question in already busy.
A Visual Studio specific error HRESULT for "Incompatible document data".
A Visual Studio specific error HRESULT that indicates "Package not loaded."
A Visual Studio-specific error HRESULT that indicates that the "Project already exists."
A Visual Studio specific error HRESULT that indicates "Project configuration failed."
A Visual Studio-specific error HRESULT that indicates "Project not loaded."
A Visual Studio-specific error HRESULT that indicates "Solution already open."
A Visual Studio-specific error HRESULT that indicates "Solution not open."
VS_E_SPECIFYING_OUTPUT_UNSUPPORTED
Returned by build interfaces that have parameters for specifying an array of IVsOutput's but the implementation can only apply the method to all outputs.
CreateEditorInstance returns this value if the document has a format that cannot be opened in the editor.
An HRESULT value that indicates that the user hit the back button in a Visual Studio wizard.
A Visual Studio-specific error HRESULT that indicates "Project forwarded."
A Visual Studio-specific constant for a "Toolbox marker."
A Visual Studio-specific constant that indicates that a cookie has not been set.
A Visual Studio item identifier that represents the absence of a project item. This value is used when there is no current selection.
A Visual Studio item identifier that represents the root of a project hierarchy and is used to identify the entire hierarchy, as opposed to a single item.
A Visual Studio item identifier that represents the currently selected item or items, which can include the root of the hierarchy.
A Visual Studio-specific constant for broadcasting a notification message via OnBroadcastMessage that indicates the beginning of modality.
A Visual Studio-specific constant for broadcasting a notification message via OnBroadcastMessage that indicates the end of modality.
A Visual Studio-specific constant for broadcasting a notification message via OnBroadcastMessage indicating that the command bar metrics have changed.
GUID for the Windows 2000 command set. This is a set of standard editor commands.
A constant referenced in selection events to describe which component of the shell has just been selected.
Top