GlobalObjectProvider::GetGlobalTypesCore Method (Project^)
Visual Studio 2015
Gets a collection of global types for the specified project that match the specified type.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Parameters
- project
-
Type:
EnvDTE::Project^
The Project from which to obtain global types.
Return Value
Type: Microsoft.VisualStudio.Shell.Design::GlobalTypeCollection^A GlobalTypeCollection containing the global types for the specified project.
The GetGlobalTypesCore method is the internal worker method that the GetGlobalTypes wrapper method refers calls to. The default implementation returns an empty collection; derived classes must override this implementation.
To indicate the absence of any global objects meeting the specified criteria, GetGlobalTypesCore should return an empty collection; it should never return null or a collection with a null element.
Show: