Udostępnij za pośrednictwem


FlavoredProject.IVsAggregatableProject.OnAggregationComplete Method

Called to continue initialization after aggregation is complete.

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

Syntax

'Declaration
Private Function OnAggregationComplete As Integer 
    Implements IVsAggregatableProject.OnAggregationComplete
'Usage
Dim instance As FlavoredProject 
Dim returnValue As Integer 

returnValue = CType(instance, IVsAggregatableProject).OnAggregationComplete()
int IVsAggregatableProject.OnAggregationComplete()
private:
virtual int OnAggregationComplete() sealed = IVsAggregatableProject::OnAggregationComplete
JScript does not support explicit interface implementations.

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

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace