IVsAggregatableProject.OnAggregationComplete Method

Indicates that aggregation is complete.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)


Function OnAggregationComplete As Integer
‘사용 방법
Dim instance As IVsAggregatableProject
Dim returnValue As Integer

returnValue = instance.OnAggregationComplete()
int OnAggregationComplete()
int OnAggregationComplete()
abstract OnAggregationComplete : unit -> int 
function OnAggregationComplete() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


OnAggregationComplete is called after all objects in the aggregation have called on InitializeForOuter. At this point, flavored projects should initialize external packages and objects that need interface pointers from the aggregation.

COM Signature

From vsshell80.idl:

HRESULT OnAggregationComplete();

.NET Framework Security

See Also


IVsAggregatableProject Interface

IVsAggregatableProject Members

Microsoft.VisualStudio.Shell.Interop Namespace