GlobalObjectProvider::GetGlobalObjects Method (Project^)
Visual Studio 2015
Gets a collection of global objects for the specified project.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
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).
Show: