共用方式為


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

'宣告
Protected Property Provider As IServiceProvider
    Get
    Set
'用途
Dim value As IServiceProvider

value = Me.Provider

Me.Provider = value
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

MethodData Members

Microsoft.VisualStudio.Package Namespace