Bagikan melalui


MethodData.Provider Property

Determines the service provider.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Protected Property Provider As IServiceProvider
protected IServiceProvider Provider { get; set; }
protected:
property IServiceProvider^ Provider {
    IServiceProvider^ get ();
    void set (IServiceProvider^ value);
}
member Provider : IServiceProvider with get, set
function get Provider () : IServiceProvider
function set Provider (value : IServiceProvider)

Property Value

Type: System.IServiceProvider
Returns the IServiceProvider object that was passed to the MethodData class constructor.

Remarks

This property can be accessed only by a derived class.

.NET Framework Security

See Also

Reference

MethodData Class

Microsoft.VisualStudio.Package Namespace