Share via


CompositionServices.ServiceProvider Property

Service provider to ask for local services within the AppDomain Query for SComponentModel to acquire MEF services.

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

Syntax

'Declaration
Public Shared ReadOnly Property ServiceProvider As IServiceProvider
public static IServiceProvider ServiceProvider { get; }
public:
static property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get ();
}
static member ServiceProvider : IServiceProvider with get
static function get ServiceProvider () : IServiceProvider

Property Value

Type: IServiceProvider

.NET Framework Security

See Also

Reference

CompositionServices Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace