共用方式為


ISharePointProjectService.ServiceProvider Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the global service provider for the SharePoint project package.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property ServiceProvider As IServiceProvider
IServiceProvider ServiceProvider { get; }

Property Value

Type: System.IServiceProvider
An object representing a global service provider.

.NET Framework Security

See Also

Reference

ISharePointProjectService Interface

Microsoft.VisualStudio.SharePoint Namespace