FlavoredProjectFactory::IVsAggregatableProjectFactory::PreCreateForOuter Method (Object^, Object^)
Visual Studio 2015
Creates an aggregatable inner project.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
private: virtual int PreCreateForOuter( Object^ outerProject, [OutAttribute] Object^% project ) sealed = IVsAggregatableProjectFactory::PreCreateForOuter
Parameters
- outerProject
-
Type:
System::Object^
The outer project, or null if the outer project is to be created.
- project
-
Type:
System::Object^
[out] Returns the inner project.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Flavored projects may be nested several levels deep. The outerProject parameter should always be the outermost project if one exists.
This method does nothing but create the inner project so that it can be aggregated. Initialization should be performed in the InitializeForOuter method.
Show: