Compartir a través de


GlobalObjectProvider.GetGlobalTypes(Project) Method

Definition

Gets a collection of global types for the specified project that match the specified type.

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

Parameters

project
Project

The Project to obtain global types from.

Returns

A GlobalTypeCollection containing the global types for the specified project.

Exceptions

project is null.

The implementation of GetGlobalTypesCore(Project) returned null.

Applies to