Freigeben über


FlavoredProjectFactory.PreCreateForOuter Method

Creates an instance of the project.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected MustOverride Function PreCreateForOuter ( _
    outerProject As Object _
) As Object
protected abstract Object PreCreateForOuter(
    Object outerProject
)

Parameters

  • outerProject
    Type: System.Object
    The outermost project, or nulla null reference (Nothing in Visual Basic) if the outer project is being created.

Return Value

Type: System.Object
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is abstract. When implemented in a derived class, creates an inner project and sets the outer project's inner references to it. Initialization should be performed in the InitializeForOuter method.

.NET Framework Security

See Also

Reference

FlavoredProjectFactory Class

Microsoft.VisualStudio.Shell.Flavor Namespace