Share via


DocData.ServiceProvider Property

Gets the service provider from the shell.

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

Syntax

'Declaration
Protected ReadOnly Property ServiceProvider As IServiceProvider
protected IServiceProvider ServiceProvider { get; }
protected:
property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get ();
}
member ServiceProvider : IServiceProvider with get
function get ServiceProvider () : IServiceProvider

Property Value

Type: IServiceProvider
The service provider.

Remarks

This property implements the IVsUserData interface.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace