FlavoredProject.IVsAggregatableProject.OnAggregationComplete Method
Called to continue initialization after aggregation is complete.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Private Function OnAggregationComplete As Integer
Implements IVsAggregatableProject.OnAggregationComplete
int IVsAggregatableProject.OnAggregationComplete()
Return Value
Type: System.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
- 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.