다음을 통해 공유


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
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ALL
Public fieldStatic member BuildOrder Use this legacy GUID to access a specific output pane.
Public fieldStatic member BuildOutput Use this legacy GUID to access a specific output pane.
Public fieldStatic member CEF_CLONEFILE An obsolete flag combined bitwise as the first parameter of the method CreateEditorInstance.
Public fieldStatic member CEF_OPENASNEW Combined bitwise as the first parameter of the method CreateEditorInstance, this indicates the editor factory should perform necessary corrections.
Public fieldStatic member CEF_OPENFILE Combined bitwise as the first parameter of the method CreateEditorInstance, this flag is mutually exclusive with CEF_CLONEFILE.
Public fieldStatic member CEF_SILENT Indicates the editor factory should create the editor silently.
Public fieldStatic member CLSID_ComPlusOnlyDebugEngine
Public fieldStatic member CLSID_HtmDocData The document's data is HTML format.
Public fieldStatic member CLSID_HtmedPackage GUID of the HTML package.
Public fieldStatic member CLSID_HtmlLanguageService GUID of the HTML language service.
Public fieldStatic member CLSID_MiscellaneousFilesProject CLSID for Miscellaneous Files project.
Public fieldStatic member CLSID_SolutionItemsProject Project type CLSID for Solution Items project.
Public fieldStatic member CLSID_VsCfgProviderEventsHelper Provide notifications when configuration-related events are fired. Implemented by the environment.
Public fieldStatic member CLSID_VsDocOutlinePackage The CLSID of the document outline package window.
Public fieldStatic member CLSID_VsEnvironmentPackage The CLSID for Visual Studio Environment Package.
Public fieldStatic member CLSID_VsTaskList The CLSID for Visual Studio Environment Task List.
Public fieldStatic member CLSID_VsTaskListPackage The CLSID for Visual Studio Environment Task List Package.
Public fieldStatic member CLSID_VsUIHierarchyWindow The CLSID for Visual Studio Environment Hierarchy Window.
Public fieldStatic member cmdidToolsOptions On the Tools menu, the command for options.
Public fieldStatic member CPDN_SELCHANGED Sent from a page dialog to Component Selector dialog, informs of selection change on page.
Public fieldStatic member CPDN_SELDBLCLICK Sent from a page dialog to Component Selector dialog, informs of a double click on a selected item.
Public fieldStatic member CPPM_CLEARSELECTION Resets and clears selection in list of available components on the Component Selector dialog.
Public fieldStatic member CPPM_GETSELECTION Retrieves information about selection on the Component Selector dialog.
Public fieldStatic member CPPM_INITIALIZELIST Initializes the list of available components on the Component Selector dialog.
Public fieldStatic member CPPM_INITIALIZETAB Initializes a tab with Variant in VSCOMPONENTSELECTORTABINIT on the Component Selector dialog.
Public fieldStatic member CPPM_QUERYCANSELECT Determine whether the Select button should be enabled on the Component Selector dialog.
Public fieldStatic member CPPM_SETMULTISELECT Sets the multiple-selection mode on the Component Selector dialog.
Public fieldStatic member DebugOutput Use this legacy GUID to access a specific output pane.
Public fieldStatic member DISP_E_ARRAYISLOCKED An HRESULT that indicates that the array is currently locked.
Public fieldStatic member DISP_E_BADCALLEE A COM return value.
Public fieldStatic member DISP_E_BADINDEX A return value that indicates subscript out of range.
Public fieldStatic member DISP_E_BADPARAMCOUNT 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.
Public fieldStatic member DISP_E_BADVARTYPE One of the method arguments is not a valid variant type.
Public fieldStatic member DISP_E_BUFFERTOOSMALL A return error that indicates the destination token buffer is too small.
Public fieldStatic member DISP_E_DIVBYZERO A return error that indicates a divide by zero error.
Public fieldStatic member DISP_E_EXCEPTION 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.
Public fieldStatic member DISP_E_MEMBERNOTFOUND 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.
Public fieldStatic member DISP_E_NONAMEDARGS A return value indicating that the invoked implementation of IDispatch does not support named arguments.
Public fieldStatic member DISP_E_NOTACOLLECTION A return value indicating an unexpected argument type.
Public fieldStatic member DISP_E_OVERFLOW An error that indicates that a value could not be coerced to its expected representation.
Public fieldStatic member DISP_E_PARAMNOTFOUND A return value that indicates that one of the parameter DISPIDs does not correspond to a parameter on the method.
Public fieldStatic member DISP_E_PARAMNOTOPTIONAL A return value that indicates that a required parameter was omitted.
Public fieldStatic member DISP_E_TYPEMISMATCH A return value that indicates that one or more of the parameters could not be coerced.
Public fieldStatic member DISP_E_UNKNOWNINTERFACE A return value that indicates that the interface identifier passed in riid is not equal to IID_NULL.
Public fieldStatic member DISP_E_UNKNOWNLCID 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.
Public fieldStatic member DISP_E_UNKNOWNNAME 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.
Public fieldStatic member DocumentFrame A constant referenced in selection events to describe which component of the shell has just been selected.
Public fieldStatic member E_ABORT 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.
Public fieldStatic member E_ACCESSDENIED A return value that describes a general access denied error.
Public fieldStatic member E_FAIL Error HRESULT for a generic failure.
Public fieldStatic member E_HANDLE A return value that indicates an invalid handle.
Public fieldStatic member E_INVALIDARG Error HRESULT for an invalid argument.
Public fieldStatic member E_NOINTERFACE Error HRESULT for the request of a not implemented interface.
Public fieldStatic member E_NOTIMPL Error HRESULT for the call to a method that is not implemented.
Public fieldStatic member E_OUTOFMEMORY Error HRESULT for out of memory.
Public fieldStatic member E_PENDING A return value that indicates the availability of an asynchronously accessed interface.
Public fieldStatic member E_POINTER A return value that indicates that an invalid pointer, usually nulla null reference (Nothing in Visual Basic), was passed as a parameter.
Public fieldStatic member E_UNEXPECTED A return value that indicates that the result of the method call is outside of the error cases the client code can readily handle.
Public fieldStatic member GUID_AppCommand Identifies commands fired as a result of a WM_APPCOMMAND message received by the main window.
Public fieldStatic member GUID_BrowseFilePage The BrowseFile page.
Public fieldStatic member GUID_BuildOutputWindowPane 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.
Public fieldStatic member GUID_COMClassicPage A Visual Studio component selector page GUID.
Public fieldStatic member GUID_COMPlusPage A Visual Studio component selector page GUID.
Public fieldStatic member GUID_DefaultEditor A common system defined editor GUID.
Public fieldStatic member GUID_ExternalEditor A common editor GUID.
Public fieldStatic member GUID_HTMEDAllowExistingDocData GUID used to mark a VsTextBuffer in order to tell to the HTML editor factory to accept preexisting doc data.
Public fieldStatic member GUID_HtmlEditorFactory GUID of the HTML editor factory.
Public fieldStatic member GUID_ItemType_PhysicalFile A GUID constant used to specify that the type is a physical file on disk or the Web.
Public fieldStatic member GUID_ItemType_PhysicalFolder A GUID constant used to specify that the type is a physical folder on disk or the Web.
Public fieldStatic member GUID_ItemType_SubProject A GUID constant used to specify that the type is a nested hierarchy project.
Public fieldStatic member GUID_ItemType_VirtualFolder A GUID constant used to specify that the type is a non-physical folder.
Public fieldStatic member GUID_OutWindowDebugPane A GUID constant used to specify the debug pane inside the output window.
Public fieldStatic member GUID_OutWindowGeneralPane The GUID of the pseudo service that returns the General output pane SID_SVsGeneralOutputWindowPane in the VS environment.
Public fieldStatic member GUID_ProjectDesignerEditor The propejct designer guid.
Public fieldStatic member GUID_SolutionPage A Visual Studio component selector page GUID.
Public fieldStatic member GUID_TextEditorFactory GUID of the Text editor factory.
Public fieldStatic member GUID_VS_DEPTYPE_BUILD_PROJECT
Public fieldStatic member GUID_VsNewProjectPseudoFolder String resource ID for Visual Studio pseudo-folder.
Public fieldStatic member GUID_VSStandardCommandSet97 This GUID identifies the standard set of commands known by Visual Studio 97 (version 6).
Public fieldStatic member GUID_VsTaskListViewAll The GUID for the highest abstraction task lists.
Public fieldStatic member GUID_VsTaskListViewCheckedTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewCommentTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewCompilerTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewCurrentFileTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewHTMLTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewShortcutTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewUncheckedTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsTaskListViewUserTasks The GUID for a certain flavor or task lists.
Public fieldStatic member GUID_VsUIHierarchyWindowCmds A GUID that defines the command group related to the hierarchy window.
Public fieldStatic member guidCOMPLUSLibrary
Public fieldStatic member HIERARCHY_DONTCHANGE
Public fieldStatic member HIERARCHY_DONTPROPAGATE
Public fieldStatic member IID_IUnknown GUID of the IUnknown COM interface.
Public fieldStatic member LOGVIEWID_Any Kind of view for document or data: Any defined view.
Public fieldStatic member LOGVIEWID_Code GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to the OpenStandardEditor method to get the Open With dialog, in this case on possible Code Views.
Public fieldStatic member LOGVIEWID_Debugging 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.
Public fieldStatic member LOGVIEWID_Designer 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.
Public fieldStatic member LOGVIEWID_Primary 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.
Public fieldStatic member LOGVIEWID_TextView 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.
Public fieldStatic member LOGVIEWID_UserChooseView GUID_VSStandardCommandSet97cmdidOpenWith handlers should pass this value to OpenStandardEditor method which prompts the user to choose which user-defined view to use.
Public fieldStatic member OLE_E_ADVF A legacy OLE error.
Public fieldStatic member OLE_E_ADVISENOTSUPPORTED A legacy OLE error.
Public fieldStatic member OLE_E_BLANK A legacy OLE error.
Public fieldStatic member OLE_E_CANT_BINDTOSOURCE A legacy OLE error.
Public fieldStatic member OLE_E_CANT_GETMONIKER A legacy OLE error.
Public fieldStatic member OLE_E_CANTCONVERT A legacy OLE error.
Public fieldStatic member OLE_E_CLASSDIFF A legacy OLE error.
Public fieldStatic member OLE_E_ENUM_NOMORE A legacy OLE error.
Public fieldStatic member OLE_E_INVALIDHWND A legacy OLE error.
Public fieldStatic member OLE_E_INVALIDRECT A legacy OLE error.
Public fieldStatic member OLE_E_NOCACHE A legacy OLE error.
Public fieldStatic member OLE_E_NOCONNECTION A legacy OLE error.
Public fieldStatic member OLE_E_NOSTORAGE A legacy OLE error.
Public fieldStatic member OLE_E_NOT_INPLACEACTIVE A legacy OLE error.
Public fieldStatic member OLE_E_NOTRUNNING A legacy OLE error.
Public fieldStatic member OLE_E_OLEVERB A legacy OLE error.
Public fieldStatic member OLE_E_PROMPTSAVECANCELLED The user was prompted to save but chose the Cancel button from the prompt message box.
Public fieldStatic member OLE_E_STATIC The cache is for a static object and it already has a cache node.
Public fieldStatic member OLE_E_WRONGCOMPOBJ The versions of COMPOBJ.DLL and OLE2.DLL on your machine are incompatible with each other.
Public fieldStatic member PropertyBrowserSID Describes what component of the shell has just been selected.
Public fieldStatic member S_FALSE HRESULT for false.
Public fieldStatic member S_OK Generic HRESULT for success.
Public fieldStatic member SELCONTAINER_DONTCHANGE
Public fieldStatic member SELCONTAINER_DONTPROPAGATE
Public fieldStatic member SELECTED
Public fieldStatic member SID_SUIHostCommandDispatcher The name of the Visual Studio service that implements IOleCommandTarget.
Public fieldStatic member SID_SVsGeneralOutputWindowPane Returns an IID_IVsOutputWindowPane interface of the General output pane in the Visual Studio environment.
Public fieldStatic member SID_SVsToolboxActiveXDataProvider A Visual Studio toolbox service.
Public fieldStatic member StartupProject 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.
Public fieldStatic member UICONTEXT_CodeWindow Returns the GUID of the command associated with a change in UI context.
Public fieldStatic member UICONTEXT_Debugging Specifies that UI context is the switch to a debugging window.
Public fieldStatic member UICONTEXT_DesignMode Returns the GUID of the command associated with a change to design mode in UI context.
Public fieldStatic member UICONTEXT_Dragging Returns the GUID of the command associated with the UI drag/drop operation.
Public fieldStatic member UICONTEXT_EmptySolution 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.
Public fieldStatic member UICONTEXT_FullScreenMode 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.
Public fieldStatic member UICONTEXT_NoSolution 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.
Public fieldStatic member UICONTEXT_SolutionBuilding 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.
Public fieldStatic member UICONTEXT_SolutionExists 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.
Public fieldStatic member 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.
Public fieldStatic member 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.
Public fieldStatic member UNDO_E_CLIENTABORT Error HRESULT for a client abort.
Public fieldStatic member UndoManager A constant referenced in selection events to describe which component of the shell has just been selected.
Public fieldStatic member UserContext A constant referenced in selection events to describe which component of the shell has just been selected.
Public fieldStatic member VS_BUILDABLEPROJECTCFGOPTS_BUILD_ACTIVE_DOCUMENT_ONLY
Public fieldStatic member VS_BUILDABLEPROJECTCFGOPTS_BUILD_SELECTION_ONLY
Public fieldStatic member VS_BUILDABLEPROJECTCFGOPTS_PRIVATE
Public fieldStatic member VS_BUILDABLEPROJECTCFGOPTS_REBUILD
Public fieldStatic member VS_E_BUSY A constant returned by interfaces to asynchronous behavior when the object in question in already busy.
Public fieldStatic member VS_E_INCOMPATIBLEDOCDATA A Visual Studio specific error HRESULT for "Incompatible document data".
Public fieldStatic member VS_E_PACKAGENOTLOADED A Visual Studio specific error HRESULT that indicates "Package not loaded."
Public fieldStatic member VS_E_PROJECTALREADYEXISTS A Visual Studio-specific error HRESULT that indicates that the "Project already exists."
Public fieldStatic member VS_E_PROJECTMIGRATIONFAILED A Visual Studio specific error HRESULT that indicates "Project configuration failed."
Public fieldStatic member VS_E_PROJECTNOTLOADED A Visual Studio-specific error HRESULT that indicates "Project not loaded."
Public fieldStatic member VS_E_SOLUTIONALREADYOPEN A Visual Studio-specific error HRESULT that indicates "Solution already open."
Public fieldStatic member VS_E_SOLUTIONNOTOPEN A Visual Studio-specific error HRESULT that indicates "Solution not open."
Public fieldStatic member 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.
Public fieldStatic member VS_E_UNSUPPORTEDFORMAT CreateEditorInstance returns this value if the document has a format that cannot be opened in the editor.
Public fieldStatic member VS_E_WIZARDBACKBUTTONPRESS An HRESULT value that indicates that the user hit the back button in a Visual Studio wizard.
Public fieldStatic member VS_S_PROJECTFORWARDED A Visual Studio-specific error HRESULT that indicates "Project forwarded."
Public fieldStatic member VS_S_TBXMARKER A Visual Studio-specific constant for a "Toolbox marker."
Public fieldStatic member VSCOOKIE_NIL A Visual Studio-specific constant that indicates that a cookie has not been set.
Public fieldStatic member VSITEMID_NIL A Visual Studio item identifier that represents the absence of a project item. This value is used when there is no current selection.
Public fieldStatic member VSITEMID_ROOT 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.
Public fieldStatic member VSITEMID_SELECTION A Visual Studio item identifier that represents the currently selected item or items, which can include the root of the hierarchy.
Public fieldStatic member VSM_ENTERMODAL A Visual Studio-specific constant for broadcasting a notification message via OnBroadcastMessage that indicates the beginning of modality.
Public fieldStatic member VSM_EXITMODAL A Visual Studio-specific constant for broadcasting a notification message via OnBroadcastMessage that indicates the end of modality.
Public fieldStatic member VSM_TOOLBARMETRICSCHANGE A Visual Studio-specific constant for broadcasting a notification message via OnBroadcastMessage indicating that the command bar metrics have changed.
Public fieldStatic member VsStd2010
Public fieldStatic member VSStd2K GUID for the Windows 2000 command set. This is a set of standard editor commands.
Public fieldStatic member WindowFrame A constant referenced in selection events to describe which component of the shell has just been selected.

Top

See Also

Reference

VSConstants Class

Microsoft.VisualStudio Namespace