共用方式為


FlavoredProject.IVsAggregatableProject.OnAggregationComplete Method

Definition

Called to continue initialization after aggregation is complete.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.OnAggregationComplete() = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::OnAggregationComplete;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.OnAggregationComplete() = Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProject::OnAggregationComplete;
int Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.OnAggregationComplete();
int IVsAggregatableProject.OnAggregationComplete ();
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.OnAggregationComplete : unit -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.OnAggregationComplete : unit -> int
Function OnAggregationComplete () As Integer Implements IVsAggregatableProject.OnAggregationComplete

Returns

If the method succeeded, S_OK, otherwise an error code.

Implements

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.

Applies to