Compartir a través de


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

See Also

Reference

BaseCodeGeneratorWithSite Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace