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)
Syntax
'宣言
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.
Remarks
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
- 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.
See Also
Reference
IVsAggregatableProject Interface