Condividi tramite


FlavoredProjectFactoryBase.PreCreateForOuter Method

Creates an instance of the project.

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

Syntax

'Dichiarazione
Protected MustOverride Function PreCreateForOuter ( _
    outerProjectIUnknown As IntPtr _
) As Object
'Utilizzo
Dim outerProjectIUnknown As IntPtr
Dim returnValue As Object

returnValue = Me.PreCreateForOuter(outerProjectIUnknown)
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

FlavoredProjectFactoryBase Members

Microsoft.VisualStudio.Shell.Flavor Namespace