Share via


BaseCodeGeneratorWithSite.Dte Property

Get the DTE object

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Protected ReadOnly Property Dte As DTE
[CLSCompliantAttribute(false)]
protected DTE Dte { get; }
[CLSCompliantAttribute(false)]
protected:
property DTE^ Dte {
    DTE^ get ();
}
[<CLSCompliantAttribute(false)>]
member Dte : DTE with get
function get Dte () : DTE

Property Value

Type: EnvDTE.DTE

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace