共用方式為


VCCodeModel.DTE Property

Gets the top-level extensibility object.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
ReadOnly Property DTE As DTE
    Get
DTE DTE { get; }
property DTE^ DTE {
    DTE^ get ();
}
abstract DTE : DTE
function get DTE () : DTE

Property Value

Type: EnvDTE.DTE
A DTE object.

Implements

CodeModel2.DTE

Remarks

In Visual Studio, the DTE object is the root of the automation model, which other object models often call "Application".

.NET Framework Security

See Also

Reference

VCCodeModel Interface

DTE Overload

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples