FlavoredProjectFactory.IVsAggregatableProjectFactory.PreCreateForOuter Method
Creates an aggregatable inner project.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Function PreCreateForOuter ( _
outerProject As Object, _
<OutAttribute> ByRef project As Object _
) As Integer Implements IVsAggregatableProjectFactory.PreCreateForOuter
int IVsAggregatableProjectFactory.PreCreateForOuter(
Object outerProject,
out Object project
)
private:
virtual int PreCreateForOuter(
Object^ outerProject,
[OutAttribute] Object^% project
) sealed = IVsAggregatableProjectFactory::PreCreateForOuter
private abstract PreCreateForOuter :
outerProject:Object *
project:Object byref -> int
private override PreCreateForOuter :
outerProject:Object *
project:Object byref -> int
JScript does not support explicit interface implementations.
Parameters
- outerProject
Type: System.Object
The outer project, or nulla null reference (Nothing in Visual Basic) if the outer project is to be created.
- project
Type: System.Object%
[out] Returns the inner project.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsAggregatableProjectFactory.PreCreateForOuter(Object, Object%)
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.