Partager via


BaseCodeGeneratorWithSite.SiteServiceProvider Property

Definition

Important

This API is not CLS-compliant.

Get a wrapper on the containing project system's Service provider

protected:
 property Microsoft::VisualStudio::Shell::ServiceProvider ^ SiteServiceProvider { Microsoft::VisualStudio::Shell::ServiceProvider ^ get(); };
[System.CLSCompliant(false)]
protected Microsoft.VisualStudio.Shell.ServiceProvider SiteServiceProvider { get; }
protected Microsoft.VisualStudio.Shell.ServiceProvider SiteServiceProvider { get; }
[<System.CLSCompliant(false)>]
member this.SiteServiceProvider : Microsoft.VisualStudio.Shell.ServiceProvider
member this.SiteServiceProvider : Microsoft.VisualStudio.Shell.ServiceProvider
Protected ReadOnly Property SiteServiceProvider As ServiceProvider

Property Value

Attributes

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

Applies to