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()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GlobalObjectProviderFactory Class