次の方法で共有


GlobalObjectProviderFactory.GetProviders Method

Returns an array of all the currently available global object providers.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Public MustOverride Function GetProviders As GlobalObjectProvider()
public abstract GlobalObjectProvider[] GetProviders()

Return Value

Type: array<Microsoft.VisualStudio.Shell.Design.GlobalObjectProvider[]
An array containing instances of the currently available GlobalObjectProvider instances.

Remarks

The GetProviders method enumerates the available global object providers, creating an instance of each provider when necessary. This method should never return nulla null reference (Nothing in Visual Basic); instead, it should return an empty array if there are no providers.

.NET Framework Security

See Also

Reference

GlobalObjectProviderFactory Class

Microsoft.VisualStudio.Shell.Design Namespace

GetGlobalObjects

GetGlobalTypes