BaseCodeGeneratorWithSite.GlobalServiceProvider Property
Provides a wrapper on the global service provider for Visual Studio
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 GlobalServiceProvider As ServiceProvider
[CLSCompliantAttribute(false)]
protected ServiceProvider GlobalServiceProvider { get; }
[CLSCompliantAttribute(false)]
protected:
property ServiceProvider^ GlobalServiceProvider {
ServiceProvider^ get ();
}
[<CLSCompliantAttribute(false)>]
member GlobalServiceProvider : ServiceProvider with get
function get GlobalServiceProvider () : ServiceProvider
Property Value
Type: Microsoft.VisualStudio.Shell.ServiceProvider
.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.