共用方式為


GlobalObjectService.GetGlobalTypes Method

Definition

Returns a collection of currently available global types.

public:
 Microsoft::VisualStudio::Shell::Design::GlobalTypeCollection ^ GetGlobalTypes();
public Microsoft.VisualStudio.Shell.Design.GlobalTypeCollection GetGlobalTypes ();
member this.GetGlobalTypes : unit -> Microsoft.VisualStudio.Shell.Design.GlobalTypeCollection
Public Function GetGlobalTypes () As GlobalTypeCollection

Returns

A GlobalTypeCollection containing the currently available global types.

Exceptions

One of the queried global service provider factories returned null provider or provider collection.

Applies to