FlavoredProject.IVsAggregatableProject.OnAggregationComplete Method
Called to continue initialization after aggregation is complete.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣言
Private Function OnAggregationComplete As Integer
Implements IVsAggregatableProject.OnAggregationComplete
'使用
Dim instance As FlavoredProject
Dim returnValue As Integer
returnValue = CType(instance, IVsAggregatableProject).OnAggregationComplete()
int IVsAggregatableProject.OnAggregationComplete()
private:
virtual int OnAggregationComplete() sealed = IVsAggregatableProject::OnAggregationComplete
private abstract OnAggregationComplete : unit -> int
private override OnAggregationComplete : unit -> int
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
- 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.