Partager via


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

'Declaration
Public MustOverride Function GetProviders As GlobalObjectProvider()
public abstract GlobalObjectProvider[] GetProviders()
public:
virtual array<GlobalObjectProvider^>^ GetProviders() abstract
abstract GetProviders : unit -> GlobalObjectProvider[] 
public abstract function GetProviders() : GlobalObjectProvider[]

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