GlobalObjectProvider.GetGlobalTypes(Project) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
A GlobalTypeCollection containing the global types for the specified project.
Exceptions
project
is null
.
The implementation of GetGlobalTypesCore(Project) returned null
.