VSConstants Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use this class to access common Visual Studio constants.
public ref class VSConstants sealed
public ref class VSConstants sealed
class VSConstants sealed
public sealed class VSConstants
type VSConstants = class
Public NotInheritable Class VSConstants
- Inheritance
-
VSConstants
Fields
ALL |
The GUID that represents all objects in the selection container. |
AssemblyReferenceProvider_Guid | |
AssemblyReferenceProvider_string | |
BuildOrder | |
BuildOutput | |
CEF_CLONEFILE | |
CEF_OPENASNEW | |
CEF_OPENFILE | |
CEF_SILENT | |
CLSID_ComPlusOnlyDebugEngine | |
CLSID_HtmDocData |
The document's data is HTML. |
CLSID_HtmedPackage |
GUID of the HTML package. |
CLSID_HtmlLanguageService |
GUID of the HTML language service. |
CLSID_MiscellaneousFilesProject |
GUID for the "Miscellaneous Files" project. |
CLSID_SolutionItemsProject |
GUID for Solution Items project. |
CLSID_VsCfgProviderEventsHelper | |
CLSID_VsDocOutlinePackage | |
CLSID_VsEnvironmentPackage |
GUID for the environment package. |
CLSID_VsTaskList | |
CLSID_VsTaskListPackage | |
CLSID_VsUIHierarchyWindow | |
cmdidToolsOptions |
On the Tools menu, the command for options. |
CO_E_ACCESSCHECKFAILED | |
CO_E_ACESINWRONGORDER | |
CO_E_ACNOTINITIALIZED | |
CO_E_CANCEL_DISABLED | |
CO_E_CONVERSIONFAILED | |
CO_E_DECODEFAILED | |
CO_E_EXCEEDSYSACLLIMIT | |
CO_E_FAILEDTOCLOSEHANDLE | |
CO_E_FAILEDTOCREATEFILE | |
CO_E_FAILEDTOGENUUID | |
CO_E_FAILEDTOGETSECCTX | |
CO_E_FAILEDTOGETTOKENINFO | |
CO_E_FAILEDTOGETWINDIR | |
CO_E_FAILEDTOIMPERSONATE | |
CO_E_FAILEDTOOPENPROCESSTOKEN | |
CO_E_FAILEDTOOPENTHREADTOKEN | |
CO_E_FAILEDTOQUERYCLIENTBLANKET | |
CO_E_FAILEDTOSETDACL | |
CO_E_INCOMPATIBLESTREAMVERSION | |
CO_E_INVALIDSID | |
CO_E_LOOKUPACCNAMEFAILED | |
CO_E_LOOKUPACCSIDFAILED | |
CO_E_NETACCESSAPIFAILED | |
CO_E_NOMATCHINGNAMEFOUND | |
CO_E_NOMATCHINGSIDFOUND | |
CO_E_PATHTOOLONG | |
CO_E_SETSERLHNDLFAILED | |
CO_E_TRUSTEEDOESNTMATCHCLIENT | |
CO_E_WRONGTRUSTEENAMESYNTAX | |
ComReferenceProvider_Guid | |
ComReferenceProvider_string | |
ConnectedServiceInstanceReferenceProvider_Guid | |
ConnectedServiceInstanceReferenceProvider_string | |
COR_E_DIRECTORYNOTFOUND | |
COR_E_FILENOTFOUND | |
CPDN_SELCHANGED |
Inform of selection change on page. |
CPDN_SELDBLCLICK |
Inform of doubld-click on selected item on page. |
CPPM_CLEARSELECTION |
Reset and clear selection in list of available components. |
CPPM_GETSELECTION |
Retrieve information about selection. |
CPPM_INITIALIZELIST |
Initialize list of available components. |
CPPM_INITIALIZETAB |
Initialize tab with VARIANT in VSCOMPONENTSELECTORTABINIT. |
CPPM_QUERYCANSELECT |
Determine whether Select button should be enabled. |
CPPM_SETMULTISELECT |
Set multiple-selection mode for picker. |
DebugOutput | |
DISP_E_ARRAYISLOCKED |
An HRESULT that indicates that the array is currently locked. |
DISP_E_BADCALLEE |
A COM return value. |
DISP_E_BADINDEX |
A return value that indicates subscript out of range. |
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. |
DISP_E_BADVARTYPE |
One of the method arguments is not a valid variant type. |
DISP_E_BUFFERTOOSMALL |
A return error that indicates the destination token buffer is too small. |
DISP_E_DIVBYZERO |
A return error that indicates a divide by zero error. |
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. |
DISP_E_MEMBERNOTFOUND |
A return value indicating that the requested member does not exist, or the call to |
DISP_E_NONAMEDARGS |
A return value indicating that the invoked implementation of IDispatch does not support named arguments. |
DISP_E_NOTACOLLECTION |
A return value indicating an unexpected argument type. |
DISP_E_OVERFLOW |
An error that indicates that a value could not be coerced to its expected representation. |
DISP_E_PARAMNOTFOUND |
A return value that indicates that one of the parameter DISPIDs does not correspond to a parameter on the method. |
DISP_E_PARAMNOTOPTIONAL |
A return value that indicates that a required parameter was omitted. |
DISP_E_TYPEMISMATCH |
A return value that indicates that one or more of the parameters could not be coerced. |
DISP_E_UNKNOWNINTERFACE |
A return value that indicates that the interface identifier passed in |
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. |
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. |
DOCDATAEXISTING_UNKNOWN |
A special docdata pointer value to pass in to methods like OpenSpecificEditor and OpenStandardEditor. This value indicates that the method should try retrieving the existing docdata from the RDT. |
DocumentFrame |
IVsSelectionEvents.OnElementValueChanged flag: A document frame. |
E_ABORT |
Error HRESULT for an abort. |
E_ACCESSDENIED |
Error HRESULT for an access denied. |
E_FAIL |
Error HRESULT for a generic failure. |
E_HANDLE |
Error HRESULT for an invalid HANDLE. |
E_INVALIDARG |
Error HRESULT for an invalid argument. |
E_NOINTERFACE |
Error HRESULT for the request of a not implemented interface. |
E_NOTIMPL |
Error HRESULT for the call to a not implemented method. |
E_OUTOFMEMORY |
Error HRESULT for out of memory. |
E_PENDING |
Error HRESULT for a pending condition. |
E_POINTER |
Error HRESULT for a null or invalid pointer. |
E_UNEXPECTED |
Error HRESULT for an unexpected condition. |
FileReferenceProvider_Guid | |
FileReferenceProvider_string | |
GUID_AppCommand |
This GUID identifies commands fired as a resoult of a WM_APPCOMMAND message received by the main window. |
GUID_BrowseFilePage |
The BrowseFile page. |
GUID_BuildOutputWindowPane |
GUID of the build pane inside the output window. |
GUID_COMClassicPage | |
GUID_COMPlusPage | |
GUID_DefaultEditor | |
GUID_ExternalEditor | |
GUID_HTMEDAllowExistingDocData |
GUID used to mark a TextBuffer in order to tell to the HTML editor factory to accept preexisting doc data. |
GUID_HtmlEditorFactory |
GUID of the HTML editor factory. |
GUID_ItemType_PhysicalFile |
Physical file on disk or web (IVsProject::GetMkDocument returns a file path). |
GUID_ItemType_PhysicalFolder |
Physical folder on disk or web (IVsProject::GetMkDocument returns a directory path). |
GUID_ItemType_SharedProjectReference |
SharedProjectReference item (normally child of "References" folder). |
GUID_ItemType_SubProject |
A nested hierarchy project. |
GUID_ItemType_VirtualFolder |
Non-physical folder (folder is logical and not a physical file system directory). |
GUID_OutWindowDebugPane |
GUID of the debug pane inside the output window. |
GUID_OutWindowGeneralPane |
GUID of the general output pane inside the output window. |
GUID_ProjectDesignerEditor |
The project designer guid. |
GUID_SolutionPage | |
GUID_TextEditorFactory |
GUID of the Text editor factory. |
GUID_VS_DEPTYPE_BUILD_PROJECT | |
GUID_VsNewProjectPseudoFolder |
GUID for the "Visual Studio" pseudo folder in the registry. |
GUID_VSStandardCommandSet97 |
This GUID identifies the standard set of commands known by VisualStudio 97 (version 6). |
GUID_VsTaskListViewAll | |
GUID_VsTaskListViewCheckedTasks | |
GUID_VsTaskListViewCommentTasks | |
GUID_VsTaskListViewCompilerTasks | |
GUID_VsTaskListViewCurrentFileTasks | |
GUID_VsTaskListViewHTMLTasks | |
GUID_VsTaskListViewShortcutTasks | |
GUID_VsTaskListViewUncheckedTasks | |
GUID_VsTaskListViewUserTasks | |
GUID_VsUIHierarchyWindowCmds |
Command Group GUID for commands that only apply to the UIHierarchyWindow. |
guidCOMPLUSLibrary |
The GUID of the COM Plus library. |
HIERARCHY_DONTCHANGE |
Instructs the selection container not to change the value. |
HIERARCHY_DONTPROPAGATE |
Instructs the selection container to set the value to |
IID_IUnknown |
GUID of the IUnknown COM interface. |
LOGVIEWID_Any |
Kind of view for document or data: Any defined view. |
LOGVIEWID_Code |
Kind of view for document or data: Code editor view. |
LOGVIEWID_Debugging |
Kind of view for document or data: Debugger view. |
LOGVIEWID_Designer |
Kind of view for document or data: Designer view. |
LOGVIEWID_Primary |
Kind of view for document or data: Primary (default) view. |
LOGVIEWID_TextView |
Kind of view for document or data: Text editor view. |
LOGVIEWID_UserChooseView |
Kind of view for document or data: A user defined view. |
MiscFilesProjectUniqueName | |
OLE_E_ADVF |
A legacy OLE error. |
OLE_E_ADVISENOTSUPPORTED |
A legacy OLE error. |
OLE_E_BLANK |
A legacy OLE error. |
OLE_E_CANT_BINDTOSOURCE |
A legacy OLE error. |
OLE_E_CANT_GETMONIKER |
A legacy OLE error. |
OLE_E_CANTCONVERT |
A legacy OLE error. |
OLE_E_CLASSDIFF |
A legacy OLE error. |
OLE_E_ENUM_NOMORE |
A legacy OLE error. |
OLE_E_INVALIDHWND |
A legacy OLE error. |
OLE_E_INVALIDRECT |
A legacy OLE error. |
OLE_E_NOCACHE |
A legacy OLE error. |
OLE_E_NOCONNECTION |
A legacy OLE error. |
OLE_E_NOSTORAGE |
A legacy OLE error. |
OLE_E_NOT_INPLACEACTIVE |
A legacy OLE error. |
OLE_E_NOTRUNNING |
A legacy OLE error. |
OLE_E_OLEVERB |
A legacy OLE error. |
OLE_E_PROMPTSAVECANCELLED |
The user was prompted to save but chose the Cancel button from the prompt message box. |
OLE_E_STATIC |
The cache is for a static object and it already has a cache node. |
OLE_E_WRONGCOMPOBJ |
The versions of COMPOBJ.DLL and OLE2.DLL on your machine are incompatible with each other. |
PlatformReferenceProvider_Guid | |
PlatformReferenceProvider_string | |
ProjectReferenceProvider_Guid | |
ProjectReferenceProvider_string | |
PropertyBrowserSID |
IVsSelectionEvents.OnElementValueChanged flag: The property borowser. |
RPC_E_ACCESS_DENIED | |
RPC_E_ATTEMPTED_MULTITHREAD | |
RPC_E_CALL_CANCELED | |
RPC_E_CALL_COMPLETE | |
RPC_E_CALL_REJECTED | |
RPC_E_CANTCALLOUT_AGAIN | |
RPC_E_CANTCALLOUT_INASYNCCALL | |
RPC_E_CANTCALLOUT_INEXTERNALCALL | |
RPC_E_CANTCALLOUT_ININPUTSYNCCALL | |
RPC_E_CANTPOST_INSENDCALL | |
RPC_E_CANTTRANSMIT_CALL | |
RPC_E_CHANGED_MODE | |
RPC_E_CLIENT_CANTMARSHAL_DATA | |
RPC_E_CLIENT_CANTUNMARSHAL_DATA | |
RPC_E_CLIENT_DIED | |
RPC_E_CONNECTION_TERMINATED | |
RPC_E_DISCONNECTED | |
RPC_E_FAULT | |
RPC_E_FULLSIC_REQUIRED | |
RPC_E_INVALID_CALLDATA | |
RPC_E_INVALID_DATA | |
RPC_E_INVALID_DATAPACKET | |
RPC_E_INVALID_EXTENSION | |
RPC_E_INVALID_HEADER | |
RPC_E_INVALID_IPID | |
RPC_E_INVALID_OBJECT | |
RPC_E_INVALID_OBJREF | |
RPC_E_INVALID_PARAMETER | |
RPC_E_INVALID_STD_NAME | |
RPC_E_INVALIDMETHOD | |
RPC_E_NO_CONTEXT | |
RPC_E_NO_GOOD_SECURITY_PACKAGES | |
RPC_E_NO_SYNC | |
RPC_E_NOT_REGISTERED | |
RPC_E_OUT_OF_RESOURCES | |
RPC_E_REMOTE_DISABLED | |
RPC_E_RETRY | |
RPC_E_SERVER_CANTMARSHAL_DATA | |
RPC_E_SERVER_CANTUNMARSHAL_DATA | |
RPC_E_SERVER_DIED | |
RPC_E_SERVER_DIED_DNE | |
RPC_E_SERVERCALL_REJECTED | |
RPC_E_SERVERCALL_RETRYLATER | |
RPC_E_SERVERFAULT | |
RPC_E_SYS_CALL_FAILED | |
RPC_E_THREAD_NOT_INIT | |
RPC_E_TIMEOUT | |
RPC_E_TOO_LATE | |
RPC_E_UNEXPECTED | |
RPC_E_UNSECURE_CALL | |
RPC_E_VERSION_MISMATCH | |
RPC_E_WRONG_THREAD | |
RPC_S_CALLPENDING | |
RPC_S_WAITONTIMER | |
S_FALSE |
HRESULT for FALSE (not an error). |
S_OK |
HRESULT for generic success. |
SELCONTAINER_DONTCHANGE |
Instructs the selection container not to change the value. |
SELCONTAINER_DONTPROPAGATE |
Instructs the selection container to set the value to |
SELECTED |
The GUID that represents selected objects in the selection container. |
SharedProjectReferenceProvider_Guid | |
SharedProjectReferenceProvider_string | |
SID_SUIHostCommandDispatcher |
SUIHostCommandDispatcher service returns an object that implements IOleCommandTarget. This object handles command routing for the Environment. Use this service if you need to route a command based on the current selection/state of the Environment. |
SID_SVsGeneralOutputWindowPane |
Pseudo service that returns a IID_IVsOutputWindowPane interface of the General output pane in the VS environment. Querying for this service will cause the General output pane to be created if it hasn't yet been created. |
SID_SVsToolboxActiveXDataProvider | |
SolutionItemsProjectUniqueName | |
StartupProject |
IVsSelectionEvents.OnElementValueChanged flag: The startup project. |
UICONTEXT_CodeWindow | |
UICONTEXT_Debugging | |
UICONTEXT_DesignMode | |
UICONTEXT_Dragging | |
UICONTEXT_EmptySolution | |
UICONTEXT_FullScreenMode | |
UICONTEXT_NoSolution | |
UICONTEXT_SolutionBuilding | |
UIContext_SolutionClosing | |
UICONTEXT_SolutionExists | |
UICONTEXT_SolutionHasAppContainerProject | |
UICONTEXT_SolutionHasMultipleProjects | |
UICONTEXT_SolutionHasSingleProject | |
UNDO_E_CLIENTABORT |
Error HRESULT for a client abort. |
UndoManager |
IVsSelectionEvents.OnElementValueChanged flag: The undo manager. |
UserContext |
IVsSelectionEvents.OnElementValueChanged flag: A user context. |
VS_BUILDABLEPROJECTCFGOPTS_BUILD_ACTIVE_DOCUMENT_ONLY |
A flag that requests that only the most recently modified document be built. |
VS_BUILDABLEPROJECTCFGOPTS_BUILD_SELECTION_ONLY |
A flag that requests that only the selected items be rebuilt. |
VS_BUILDABLEPROJECTCFGOPTS_PACKAGE | |
VS_BUILDABLEPROJECTCFGOPTS_PRIVATE |
A flag that is private to a particular implementation. |
VS_BUILDABLEPROJECTCFGOPTS_REBUILD |
A flag that requests that the project be rebuilt completely, regardless of whether it is up-to-date. |
VS_E_BUSY |
VS specific error HRESULT returned by interfaces to asynchronous behavior when the object in question in already busy. |
VS_E_CIRCULARTASKDEPENDENCY |
VS specific error HRESULT code returned when an attempt to do a task wait operation would result in a deadlock due to circular dependency. |
VS_E_EDITORDISABLED |
VS specific error HRESULT for "Editor disabled". |
VS_E_INCOMPATIBLECLASSICPROJECT |
VS Specific error HRESULT for a non-Windows Store app project, which is not supported by the VS Express SKU. |
VS_E_INCOMPATIBLEDOCDATA |
VS specific error HRESULT for "Incompatible document data". |
VS_E_INCOMPATIBLEPROJECT |
VS Specific error HRESULT for a project not supported by current edition of the product. |
VS_E_INCOMPATIBLEPROJECT_UNSUPPORTED_OS |
VS Specific error HRESULT for a project not supported in the current OS version, for example Windows Store app projects require Windows 8 or higher. |
VS_E_PACKAGENOTLOADED |
VS specific error HRESULT for "Package not loaded". |
VS_E_PROJECTALREADYEXISTS |
VS specific error HRESULT for "Project already exists". |
VS_E_PROJECTMIGRATIONFAILED |
VS specific error HRESULT for "Project configuration failed". |
VS_E_PROJECTNOTLOADED |
VS specific error HRESULT for "Project not loaded". |
VS_E_PROMPTREQUIRED |
VS specific error HRESULT code returned when an attempt to do a save using RDTSAVEOPT_SileSave fails because source control requires a UI prompt in order to make the file to be saved editable. |
VS_E_SOLUTIONALREADYOPEN |
VS specific error HRESULT for "Solution already open". |
VS_E_SOLUTIONNOTOPEN |
VS specific error HRESULT for "Solution not open". |
VS_E_SPECIFYING_OUTPUT_UNSUPPORTED |
Is 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. |
VS_E_UNSUPPORTEDFORMAT |
VS specific error HRESULT for "Unsupported format". |
VS_E_WIZARDBACKBUTTONPRESS |
VS specific error HRESULT for "Wizard back button pressed". |
VS_S_INCOMPATIBLEPROJECT |
VS specific success HRESULT returned when a project is not supported by current edition of the product. |
VS_S_PROJECT_ONEWAYUPGRADEREQUIRED |
VS specific success HRESULT returned when a one-way upgrade is required. A one-way upgrade is a full upgrade which will make the project incompatible with the previous version of the product. |
VS_S_PROJECT_SAFEREPAIRREQUIRED |
VS specific success HRESULT returned when a safe-repair is required. A safe-repair is one which is not a real full upgrade but merely a repair to make the project asset compatible without the risk of issues being encountered by the previous versions of the product. |
VS_S_PROJECT_UNSAFEREPAIRREQUIRED |
VS specific success HRESULT returned when an unsafe-repair is required. An usafe-repair is one which is not a full upgrade, but with a risk of issues being encountered by the newer or previous version of the product. For example if a newer dependent SDK is not currently installed. |
VS_S_PROJECTFORWARDED |
VS specific success HRESULT for "Project forwarded". |
VS_S_TBXMARKER |
VS specific success HRESULT for "Toolbox marker". |
VSCOOKIE_NIL |
Special value for a cookie (e.g. returned from IVsRunningDocumentTable.FindAndLockDocument): no cookie. |
VSITEMID_NIL |
Special items inside a VsHierarchy: no node. |
VSITEMID_ROOT |
Special items inside a VsHierarchy: the hierarchy itself. |
VSITEMID_SELECTION |
Special items inside a VsHierarchy: all the currently selected items. |
VSM_ENTERMODAL | |
VSM_EXITMODAL | |
VSM_MEMORYEXCESSIVE |
Message broadcast via IVsBroadcastMessageEvents::OnBroadcastMessage to indicate that the application is using an excessive amount of memory The wParam contains the pagefileusage in bytes. This message will be broadcast when memory usage degrades from OK/high to excessive. |
VSM_MEMORYHIGH |
Message broadcast via IVsBroadcastMessageEvents::OnBroadcastMessage to indicate that the application is using lots of memory The wParam contains the current pagefileusage in bytes. This message will be broadcast when memory usage degrades from OK to high. |
VSM_TOOLBARMETRICSCHANGE |
Toolbar metrics changed. |
VSM_VIRTUALMEMORYCRITICAL |
Message broadcast via IVsBroadcastMessageEvents::OnBroadcastMessage to indicate that the application is running critically low on available virtual memory. The wParam contains the available virtual memory in bytes. This message will be broadcast once per minute for as long as the critical memory condition persists. |
VSM_VIRTUALMEMORYLOW |
Message broadcast via IVsBroadcastMessageEvents::OnBroadcastMessage to indicate that the application is running low on available virtual memory. The wParam contains the available virtual memory in bytes. This message will be broadcast once per minute for as long as the low memory condition persists. |
VsStd11 | |
VsStd12 | |
VsStd14 | |
VsStd15 | |
VsStd16 | |
VsStd17 | |
VsStd2010 | |
VSStd2K |
GUID for the 2K command set. This is a set of standard editor commands. |
VSUTDCF_DTEEONLY | |
VSUTDCF_PACKAGE | |
VSUTDCF_PRIVATE | |
VSUTDCF_REBUILD | |
WindowFrame |
IVsSelectionEvents.OnElementValueChanged flag: A window frame. |