DocData.ServiceProvider Property
Gets the service provider from the shell.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
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.
Remarks
This property implements the IVsUserData interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.