Share via


FlavoredProjectFactoryBase.PreCreateForOuter Method

Creates an instance of the project.

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

Syntax

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

Parameters

  • outerProjectIUnknown
    Type: System.IntPtr
    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

FlavoredProjectFactoryBase Class

Microsoft.VisualStudio.Shell.Flavor Namespace