共用方式為


ServiceProvider.GlobalProvider Property

Definition

Gets the global service provider for the calling thread.

public:
 static property Microsoft::VisualStudio::Shell::ServiceProvider ^ GlobalProvider { Microsoft::VisualStudio::Shell::ServiceProvider ^ get(); };
public static Microsoft.VisualStudio.Shell.ServiceProvider GlobalProvider { get; }
static member GlobalProvider : Microsoft.VisualStudio.Shell.ServiceProvider
Public Shared ReadOnly Property GlobalProvider As ServiceProvider

Property Value

The global service provider.

Remarks

This property is safe to access from any thread.

Applies to