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.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.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: System.IServiceProvider

.NET Framework Security

See Also

Reference

CompositionServices Class

Microsoft.VisualStudio.TextTemplating.VSHost Namespace