共用方式為


Reference2.DTE Property

Gets the top-level extensibility object.

Namespace:  VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.dll)

Syntax

'Declaration
ReadOnly Property DTE As DTE
DTE DTE { get; }
property DTE^ DTE {
    DTE^ get ();
}
abstract DTE : DTE with get
function get DTE () : DTE

Property Value

Type: EnvDTE.DTE
Returns a DTE object.

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

Reference2 Interface

VSLangProj2 Namespace

Other Resources

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