共用方式為


IVsAggregatableProjectFactoryCorrected.PreCreateForOuter Method

Definition

Called by the owner or outer project subtype so that the owned or inner project subtype can create a version of itself that can be aggregated.

public:
 int PreCreateForOuter(IntPtr outerProjectIUnknown, [Runtime::InteropServices::Out] IntPtr % projectIUnknown);
public int PreCreateForOuter (IntPtr outerProjectIUnknown, out IntPtr projectIUnknown);
abstract member PreCreateForOuter : nativeint * nativeint -> int
Public Function PreCreateForOuter (outerProjectIUnknown As IntPtr, ByRef projectIUnknown As IntPtr) As Integer

Parameters

outerProjectIUnknown
IntPtr

nativeint

[in] Pointer to the outer IUnknown interface.

projectIUnknown
IntPtr

nativeint

[out] Pointer to the inner or owned project subtype IUnknown interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to