共用方式為


Constants Class

Definition

Constants that are common to all Visual Studio programming languages.

public ref class Constants abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class Constants abstract
[Windows::Foundation::Metadata::WebHostHidden]
class Constants abstract
[System.Runtime.InteropServices.Guid("B1AB3125-0744-4B46-AA7A-8902E36D2E15")]
public abstract class Constants
[<System.Runtime.InteropServices.Guid("B1AB3125-0744-4B46-AA7A-8902E36D2E15")>]
type Constants = class
Public MustInherit Class Constants
Inheritance
Constants
Attributes

Constructors

Constants()

Fields

dsCPP

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsFortran_Fixed

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsFortran_Free

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsHTML_IE3

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsHTML_RFC1866

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsIDL

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsJava

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

dsVBSMacro

Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.

vsAddInCmdGroup

The GUID that is used for a command when you call AddNamedCommand(AddIn, String, String, String, Boolean, Int32, Object[], Int32). Each command has a GUID and an ID associated with it.

vsCATIDDocument

The CATID for documents.

vsCATIDGenericProject

The CATID for generic projects — that is, projects without a specific object model.

vsCATIDMiscFilesProject

The CATID for the miscellaneous files project.

vsCATIDMiscFilesProjectItem

The CATID for the miscellaneous files project item.

vsCATIDSolution

The CATID for the solution.

vsCATIDSolutionBrowseObject

The CATID for items in the Property window when the solution node is selected in Solution Explorer.

vsContextDebugging

Indicates that the IDE is in Debugging mode.

vsContextDesignMode

Indicates that the IDE is in Design view.

vsContextEmptySolution

Indicates that the solution has no projects.

vsContextFullScreenMode

Indicates that the view of the integrated development environment (IDE) is full screen.

vsContextMacroRecording

Indicates that a macro is being recorded.

vsContextMacroRecordingToolbar

Indicates that the Macro Recorder toolbar is displayed.

vsContextNoSolution

Indicates that the integrated development environment (IDE) has no solution.

vsContextSolutionBuilding

Indicates that a solution is currently being built.

vsContextSolutionHasMultipleProjects

Indicates that the solution contains multiple projects.

vsContextSolutionHasSingleProject

Indicates that the solution contains only one project.

vsDocumentKindBinary

A binary file, opened with a binary file editor.

vsDocumentKindHTML

An HTML document. Can get the IHTMLDocument2 interface, also known as the Document Object Model (DOM).

vsDocumentKindResource

A resource file, opened with the resource editor.

vsDocumentKindText

A text document, opened with a text editor.

vsext_GUID_AddItemWizard

See vsWizardAddItem.

vsext_GUID_NewProjectWizard

See vsWizardNewProject.

vsext_vk_Code

See vsViewKindCode.

vsext_vk_Debugging

See vsViewKindDebugging.

vsext_vk_Designer

See vsViewKindDesigner.

vsext_vk_Primary

See vsViewKindPrimary.

vsext_vk_TextView

See vsViewKindTextView.

vsext_wk_AutoLocalsWindow

See vsWindowKindAutoLocals.

vsext_wk_CallStackWindow

See vsWindowKindCallStack.

vsext_wk_ClassView

See vsWindowKindClassView.

vsext_wk_ContextWindow

Refers to the Dynamic Help window.

vsext_wk_ImmedWindow

Refers to the Immediate window, used to execute commands in Debug mode.

vsext_wk_LocalsWindow

See vsWindowKindLocals.

vsext_wk_ObjectBrowser

See vsWindowKindObjectBrowser.

vsext_wk_OutputWindow

See vsWindowKindOutput.

vsext_wk_PropertyBrowser

See vsWindowKindProperties.

vsext_wk_SProjectWindow

The Project window, where the solution and its projects display.

vsext_wk_TaskList

See vsWindowKindTaskList.

vsext_wk_ThreadWindow

See vsWindowKindThread.

vsext_wk_Toolbox

See vsWindowKindToolbox.

vsext_wk_WatchWindow

See vsWindowKindWatch.

vsMiscFilesProjectUniqueName

The unique name for the Miscellaneous files project. Can be used to index the Solution.Projects object, such as: DTE.Solution.Projects.Item(vsMiscFilesProjectUniqueName).

vsProjectItemKindMisc

A project item in the miscellaneous files folder of the solution.

vsProjectItemKindPhysicalFile

A file in the system.

vsProjectItemKindPhysicalFolder

A folder in the system.

vsProjectItemKindSolutionItems

A project item type in the solution.

vsProjectItemKindSubProject

A subproject under the project. If returned by Kind, then SubProject returns as a Project object.

vsProjectItemKindVirtualFolder

Indicates that the folder in the project does not physically appear on disk.

vsProjectItemsKindMisc

A project item located in the miscellaneous files folder of the solution.

vsProjectItemsKindSolutionItems

A collection of items in the solution items folder of the solution.

vsProjectKindMisc

A miscellaneous files project.

vsProjectKindSolutionItems

A solution items project.

vsProjectKindUnmodeled

An unmodeled project.

vsProjectsKindSolution

The Projects collection's Kind property returns a GUID identifying the collection of project types that it contains.

vsSolutionItemsProjectUniqueName

The unique name for projects in the solution. Can be used to index the SolutionClass object's Projects collection, such as: DTE.Solution.Projects.Item(vsProjectsKindSolution).

vsViewKindAny

Use the view that was last used.

vsViewKindCode

View in code editor.

vsViewKindDebugging

View in debugger.

vsViewKindDesigner

View in Visual Designer (forms designer).

vsViewKindPrimary

View in default viewer.

vsViewKindTextView

View in text editor.

vsWindowKindAutoLocals

The Debugger window.

vsWindowKindCallStack

The Call Stack window.

vsWindowKindClassView

The Class View window.

vsWindowKindCommandWindow

The Command window.

vsWindowKindDocumentOutline

The Document Outline window.

vsWindowKindDynamicHelp

The Dynamic Help window.

vsWindowKindFindReplace

The Find Replace dialog box.

vsWindowKindFindResults1

The Find Results 1 window.

vsWindowKindFindResults2

The Find Results 2 window.

vsWindowKindFindSymbol

The Find Symbol dialog box.

vsWindowKindFindSymbolResults

The Find Symbol Results window.

vsWindowKindLinkedWindowFrame

A linked window frame.

vsWindowKindLocals

The Debugger window.

vsWindowKindMacroExplorer

The Macro Explorer window.

vsWindowKindMainWindow

The Visual Studio IDE window.

vsWindowKindObjectBrowser

The Object Browser window.

vsWindowKindOutput

The Output window.

vsWindowKindProperties

The Properties window.

vsWindowKindResourceView

The Resource Editor.

vsWindowKindServerExplorer

The Server Explorer.

vsWindowKindSolutionExplorer

The Solution Explorer.

vsWindowKindTaskList

The Task List window.

vsWindowKindThread

The Debugger window.

vsWindowKindToolbox

The Toolbox.

vsWindowKindWatch

The Watch window.

vsWindowKindWebBrowser

A Web browser window hosted in Visual Studio.

vsWizardAddItem

Represents the "AddItem" wizard type.

vsWizardAddSubProject

Represents the "AddSubProject" wizard type.

vsWizardNewProject

Represents the "NewProject" wizard type.

Applies to