Partager via


ModelExplorerTreeContainer.ServiceProvider Property

Gets the service provider that retrieves shell services.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
Protected ReadOnly Property ServiceProvider As IServiceProvider
    Get
protected IServiceProvider ServiceProvider { get; }
protected:
property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get ();
}
member ServiceProvider : IServiceProvider
function get ServiceProvider () : IServiceProvider

Property Value

Type: System.IServiceProvider
The service provider that retrieves shell services.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace