共用方式為


GlobalObjectProvider.GetGlobalObjectsCore(Project, Type) Method

Definition

When overridden in a derived class, returns a collection of global objects for the specified project that match the specified type.

protected:
 abstract Microsoft::VisualStudio::Shell::Design::GlobalObjectCollection ^ GetGlobalObjectsCore(EnvDTE::Project ^ project, Type ^ baseType);
protected abstract Microsoft.VisualStudio.Shell.Design.GlobalObjectCollection GetGlobalObjectsCore (EnvDTE.Project project, Type baseType);
abstract member GetGlobalObjectsCore : EnvDTE.Project * Type -> Microsoft.VisualStudio.Shell.Design.GlobalObjectCollection
Protected MustOverride Function GetGlobalObjectsCore (project As Project, baseType As Type) As GlobalObjectCollection

Parameters

project
Project

The Project to obtain global objects from.

baseType
Type

The Type of the GlobalObject to filter on. Can be null to indicate no filtering.

Returns

A GlobalObjectCollection containing the global objects of the specified Type for the specified project.

Applies to