共用方式為


EnvDTE80 Namespace

EnvDTE80 contains the objects and members for Visual Studio core automation. It extends and compliments the functionality provided by EnvDTE.

Classes

_dispCodeModelEvents_SinkHelper

Microsoft Internal Use Only.

_dispDebuggerExpressionEvaluationEvents_SinkHelper

Microsoft Internal Use Only.

_dispDebuggerProcessEvents_SinkHelper

Microsoft Internal Use Only.

_dispPublishEvents_SinkHelper

Microsoft Internal Use Only.

_dispTextDocumentKeyPressEvents_SinkHelper

Microsoft Internal Use Only.

_dispWindowVisibilityEvents_SinkHelper

Microsoft Internal Use Only.

CodeModelEventsClass

Refer to CodeModelEvents for this functionality. Do not instantiate from this class.

CodeModelLanguageConstants2

A constant specifying the language used to author the code.

ContextGuids

Contains context GUIDs, each of which represents a state of the integrated development environment (IDE) or a tool window. Examples of state include a debugging session in process, an empty solution being loaded, or the IDE in design view. This enumeration is passed as an argument to AddNamedCommand(AddIn, String, String, String, Boolean, Int32, Object[], Int32) and AddNamedCommand2(AddIn, String, String, String, Boolean, Object, Object[], Int32, Int32, vsCommandControlType).

DebuggerExpressionEvaluationEventsClass

Refer to DebuggerExpressionEvaluationEvents for this functionality. Do not instantiate from this class.

DebuggerProcessEventsClass

Refer to DebuggerProcessEvents for this functionality. Do not instantiate from this class.

ProjectKinds

Used to determine if the folder node is a solution folder.

PublishEventsClass

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. Refer to PublishEvents for this functionality. Do not instantiate from this class.

TextDocumentKeyPressEventsClass

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. Refer to TextDocumentKeyPressEvents for this functionality. Do not instantiate from this class.

WindowKinds

Expands upon constants used to get a handle for window objects.

WindowVisibilityEventsClass

Microsoft Internal Use Only.

Interfaces

_CodeModelEvents

Refer to CodeModelEvents for this functionality. Do not instantiate from this class.

_CodeModelEventsRoot

Microsoft Internal Use Only.

_DebuggerExpressionEvaluationEvents

Refer to DebuggerExpressionEvaluationEvents for this functionality. Do not instantiate this class.

_DebuggerExpressionEvaluationEventsRoot

Microsoft Internal Use Only.

_DebuggerProcessEvents

Refer to DebuggerProcessEvents for this functionality. Do not instantiate this class.

_DebuggerProcessEventsRoot

Microsoft Internal Use Only.

_dispCodeModelEvents

Microsoft Internal Use Only.

_dispCodeModelEvents_Event

Microsoft Internal Use Only.

_dispDebuggerExpressionEvaluationEvents

Microsoft Internal Use Only.

_dispDebuggerExpressionEvaluationEvents_Event

Microsoft Internal Use Only.

_dispDebuggerProcessEvents

Microsoft Internal Use Only.

_dispDebuggerProcessEvents_Event

Microsoft Internal Use Only.

_dispPublishEvents

Microsoft Internal Use Only.

_dispPublishEvents_Event

Microsoft Internal Use Only.

_dispTextDocumentKeyPressEvents

Microsoft Internal Use Only.

_dispTextDocumentKeyPressEvents_Event

Microsoft Internal Use Only.

_dispWindowVisibilityEvents

Microsoft Internal Use Only.

_dispWindowVisibilityEvents_Event

Microsoft Internal Use Only.

_PublishEvents

Refer to PublishEvents for this functionality. Do not instantiate this class.

_TextDocumentKeyPressEvents

Refer to TextDocumentKeyPressEvents for this functionality. Do not instantiate this class.

_TextDocumentKeyPressEventsRoot

Microsoft Internal Use Only.

_WindowVisibilityEvents

Refer to WindowVisibilityEvents for this functionality. Do not instantiate this class.

Breakpoint2

Contains the properties and methods used to programmatically manipulate a breakpoint.

CodeAttribute2

Defines an attribute for a code element.

CodeAttributeArgument

Represents a single argument (name/value pair) in a code attribute.

CodeClass2

Represents a class in source code.

CodeDelegate2

Represents a delegate in source code.

CodeElement2

Represents a code element or construct in a source file.

CodeEvent

Models a code event element.

CodeFunction2

An object defining a function construct in a source file.

CodeImport

Models the use of statements that import namespaces.

CodeInterface2

Object representing an interface in source code.

CodeModel2

Allows access to programmatic constructs in a source code file.

CodeModelEvents

Defines events supported by the CodeModel object. Refer to CodeModelEventsClass for this object's documentation.

CodeParameter2

An object defining a parameter to a function, property, and so on.

CodeProperty2

An object defining a property construct in a source file.

CodeStruct2

Object representing a structure in source code.

CodeTypeRef2

Defines the type of a construct in a source file.

CodeVariable2

Defines a variable construct in a source file.

Commands2

Contains all commands, in the form of Command objects, in the environment.

Debugger2

The Debugger2 object is used to interrogate and manipulate the state of the debugger and the program being debugged. The Debugger2 object supersedes the Debugger object.

DebuggerExpressionEvaluationEvents

The DebuggerExpressionEvaluationEvents object defines events supported by the debugger. Use this object for functionality and refer to DebuggerExpressionEvaluationEventsClass for this object's documentation.

DebuggerProcessEvents

Represents the OnProcessStateChanged event. This changes when the debugger switches from run to stop or stop to run. Refer to DebuggerProcessEventsClass for this object's documentation. Do not instantiate this class.

DTE2

The top-level object in the Visual Studio automation object model.

EditPoint2

Allows you to manipulate text as data in text buffers.

Engine

A debug engine that is used to map to code type.

Engines

A collection of debugging Engine objects.

ErrorItem

An error, warning, or message contained within the Error List window.

ErrorItems

A collection of ErrorItem objects contained in an Error List window.

ErrorList

A handle to a window containing errors, warnings, and messages related to the containing solution.

Events2

Allows access to all events in the extensibility model. Events may also be exposed from specific objects within the extensibility model.

FileCodeModel2

Allows access to programmatic constructs in a source file.

Find2

Supports general text Find operations in the environment for documents and files.

IInternalExtenderProvider

Microsoft Internal Use Only.

IncrementalSearch

Provides access to the incremental search (ISearch) capability of the text editor.

IVsExtensibility2

Microsoft Internal Use Only.

IVsProfferCommands2

Microsoft Internal Use Only.

LifetimeInformation

Used to determine if an object has been deleted but not discarded by the garbage collector.

Process2

The Process2 object is used to examine and manipulate processes. The Process2 object supersedes the Process object.

PublishEvents

Use this object for functionality and refer to PublishEventsClass for this object's documentation.

Solution2

Represents all projects and solution-wide properties in the integrated development environment (IDE).

SolutionBuild2

Represents the root of the build automation model at the solution level.

SolutionConfiguration2

Represents information about a particular way to build the solution.

SolutionFolder

Solution folders are project containers that allow developers to better organize large applications.

SourceControl2

Used to interact with current source control system.

SourceControlBindings

Used to define source control bindings for objects.

TaskItems2

The TaskItems collection contains all of the tasks in the Task List window.

TextDocumentKeyPressEvents

Defines events associated with a key press. Use this object for functionality and refer to TextDocumentKeyPressEventsClass for this object's member documentation.

TextPane2

Represents a pane within a text editor window.

ToolBoxItem2

Represents an item in the Toolbox.

ToolBoxTab2

Represents a tab in the Toolbox, along with any objects the tab contains.

ToolWindows

Improves discoverability and usability of tool windows in the object model by providing easy access to the shell’s tool windows in their native types.

Transport

Specifies the protocol the debugger uses to communicate to the machine owning the debuggee.

Transports

A collection of Transport objects.

Window2

The Window object represents a window in the environment.

Windows2

The Windows collection contains all windows in the environment.

WindowVisibilityEvents

Tells whether ToolWindows are visible (hide or show). Use this object for functionality and refer to WindowVisibilityEventsClass for this object's documentation.

WindowVisibilityEventsRoot

Microsoft Internal Use Only.

Enums

dbgEventReason2

Specifies the reason for most debugging events.

dbgExpressionEvaluationState

Used whenever an expression is evaluated in the immediate window or the GetExpression2(String, Boolean, Boolean, Int32) object in the debugger.

dbgMinidumpOption

Specifies whether heap information is written to the minidump.

dbgProcessState

Used by DebuggerProcessEvents to specify the state of the debugger.

vsBuildErrorLevel

Defines the error level of an item listed in the Error List tool window.

vsCMChangeKind

Defines the types of change events that may be fired in the CodeModelEvents object.

vsCMClassKind

Represents a value defining the kind of class definition represented by the object.

vsCMConstKind

Defines when the variable is eligible to be changed.

vsCMDataTypeKind

Represents the kind of data type of the code element.

vsCMElement2

Indicates the type of code element.

vsCMFunction2

A constant indicating the type of function.

vsCMInheritanceKind

Represents the type of inheritance.

vsCMOverrideKind

Defines the modifier applied to a method to describe how the method may be overridden.

vsCMParameterKind

Specifies expected parameter behavior.

vsCMParseStatus

Informs the code model whether the current parse has completed and if it had errors.

vsCMPropertyKind

Returns the Get/Set status for the specified property.

vsCMTypeRef2

The data type that the function returns.

vsCommandControlType

Describes the kind of control that should be used for a command.

vsCommandStyle

Defines command style options.

vsFindOptions2

Represents the behavior of the ReplacePattern method, such as how to search, where to begin the search, whether to search forward or backward, and whether to apply case sensitivity.

vsIncrementalSearchResult

Describes the status of the search result.

vsPublishState

Indicates the publish state of a solution.

vsSourceControlCheckOutOptions

Indicates document control checkout options.

vsThemeColors

A set of color standards for consistent UI design.

Delegates

_dispCodeModelEvents_ElementAddedEventHandler

Microsoft Internal Use Only.

_dispCodeModelEvents_ElementChangedEventHandler

Microsoft Internal Use Only.

_dispCodeModelEvents_ElementDeletedEventHandler

Microsoft Internal Use Only.

_dispDebuggerExpressionEvaluationEvents_OnExpressionEvaluationEventHandler

Microsoft Internal Use Only.

_dispDebuggerProcessEvents_OnProcessStateChangedEventHandler

Microsoft Internal Use Only.

_dispPublishEvents_OnPublishBeginEventHandler

Microsoft Internal Use Only.

_dispPublishEvents_OnPublishDoneEventHandler

Microsoft Internal Use Only.

_dispTextDocumentKeyPressEvents_AfterKeyPressEventHandler

Microsoft Internal Use Only.

_dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler

Microsoft Internal Use Only.

_dispWindowVisibilityEvents_WindowHidingEventHandler

Microsoft Internal Use Only.

_dispWindowVisibilityEvents_WindowShowingEventHandler

Microsoft Internal Use Only.

Remarks

When you add an assembly reference manually, you must also set the Embed Interop Types property of the assembly to false.