Share via


FlavoredProjectFactory.IVsAggregatableProjectFactory.PreCreateForOuter Method

Definition

Creates an aggregatable inner project.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter(System::Object ^ outerProject, [Runtime::InteropServices::Out] System::Object ^ % project) = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProjectFactory::PreCreateForOuter;
int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter(winrt::Windows::Foundation::IInspectable const & outerProject, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & project);
int IVsAggregatableProjectFactory.PreCreateForOuter (object outerProject, out object project);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter : obj * obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory.PreCreateForOuter : obj * obj -> int
Function PreCreateForOuter (outerProject As Object, ByRef project As Object) As Integer Implements IVsAggregatableProjectFactory.PreCreateForOuter

Parameters

outerProject
Object

The outer project, or null if the outer project is to be created.

project
Object

[out] Returns the inner project.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

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.

Applies to