MethodData.Provider Property
Determines the service provider.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.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
- 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.