Condividi tramite


FlavoredProject.IVsAggregatableProject.OnAggregationComplete Method

Called to continue initialization after aggregation is complete.

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

Syntax

'Declaration
Private Function OnAggregationComplete As Integer 
    Implements IVsAggregatableProject.OnAggregationComplete
int IVsAggregatableProject.OnAggregationComplete()
private:
virtual int OnAggregationComplete() sealed = IVsAggregatableProject::OnAggregationComplete
private abstract OnAggregationComplete : unit -> int  
private override OnAggregationComplete : unit -> int
JScript does not support explicit interface implementations.

Return Value

Type: Int32
If the method succeeded, S_OK, otherwise an error code.

Implements

IVsAggregatableProject.OnAggregationComplete()

Remarks

This method is called after all the objects in the aggregation have been initialized with InitializeForOuter. At this point the aggregation is fully functional, and the flavor can initialize any external packages or objects that need to receive interface pointers from the aggregation. Flavors should call this method on their inner project in their implementation of this method.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace