Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the DTE object
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.10.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
function get Dte () : DTE
Property Value
Type: EnvDTE.DTE
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.