GlobalObjectProvider::GetGlobalObjects Method (Project^)

 

Gets a collection of global objects for the specified project.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
GlobalObjectCollection^ GetGlobalObjects(
	Project^ project
)

Parameters

project
Type: EnvDTE::Project^

The Project to obtain global objects from.

Return Value

Type: Microsoft.VisualStudio.Shell.Design::GlobalObjectCollection^

A GlobalObjectCollection containing the global objects for the specified project.

Exception Condition
ArgumentNullException

project is null.

InvalidOperationException

The implementation of GetGlobalObjectsCore returned null.

This version is equivalent to a call of GetGlobalObjects(project, null).

Return to top
Show: