Share via


BaseCodeGeneratorWithSite.SiteServiceProvider Property

Get a wrapper on the containing project system's Service provider <remarks> This is a limited service provider that can only reliably provide VxDTE::SID_SVSProjectItem SID_SVSWebReferenceDynamicProperties IID_IVsHierarchy SID_SVsApplicationSettings To get the global provider, call GetSite on IVSHierarchy or use the GlobalServiceProvider property </remarks>

This API is not CLS-compliant. 

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Shell.ServiceProvider

.NET Framework Security

See Also

Reference

BaseCodeGeneratorWithSite Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace