Share via


FlavoredProjectFactory.PreCreateForOuter Method

Creates an instance of the project.

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

Syntax

'Declaration
Protected MustOverride Function PreCreateForOuter ( _
    outerProject As Object _
) As Object
protected abstract Object PreCreateForOuter(
    Object outerProject
)
protected:
virtual Object^ PreCreateForOuter(
    Object^ outerProject
) abstract
abstract PreCreateForOuter : 
        outerProject:Object -> Object
protected abstract function PreCreateForOuter(
    outerProject : Object
) : Object

Parameters

  • outerProject
    Type: Object

    The outermost project, or nulla null reference (Nothing in Visual Basic) if the outer project is being created.

Return Value

Type: 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