Udostępnij za pośrednictwem


GlobalObjectService.GetGlobalObjects Method

Definition

Overloads

GetGlobalObjects()

Returns a collection of all the currently available global objects.

GetGlobalObjects(Type)

Returns a collection of currently available global objects that are of the specified type.

GetGlobalObjects()

Returns a collection of all the currently available global objects.

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

Returns

A GlobalObjectCollection containing the currently available global objects.

Exceptions

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

Applies to

GetGlobalObjects(Type)

Returns a collection of currently available global objects that are of the specified type.

public:
 Microsoft::VisualStudio::Shell::Design::GlobalObjectCollection ^ GetGlobalObjects(Type ^ baseType);
public Microsoft.VisualStudio.Shell.Design.GlobalObjectCollection GetGlobalObjects (Type baseType);
member this.GetGlobalObjects : Type -> Microsoft.VisualStudio.Shell.Design.GlobalObjectCollection
Public Function GetGlobalObjects (baseType As Type) As GlobalObjectCollection

Parameters

baseType
Type

The Type of the GlobalObject to filter on.

Returns

A GlobalObjectCollection containing the currently available global objects.

Exceptions

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

Applies to