Partager via


OleMenuCommandService.ServiceProvider Property

Definition

Caution

This method is obsolete and will be removed before the end of M3.2. Use the proected GetService method instead.

Gets the service provider.

protected:
 property IServiceProvider ^ ServiceProvider { IServiceProvider ^ get(); };
[System.Obsolete("This method is obsolete and will be removed before the end of M3.2.  Use the proected GetService method instead.")]
protected IServiceProvider ServiceProvider { get; }
[<System.Obsolete("This method is obsolete and will be removed before the end of M3.2.  Use the proected GetService method instead.")>]
member this.ServiceProvider : IServiceProvider
Protected ReadOnly Property ServiceProvider As IServiceProvider

Property Value

The service provider.

Attributes

Applies to