IVsAggregatableProjectFactoryCorrected.PreCreateForOuter Method
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.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Déclaration
Function PreCreateForOuter ( _
outerProjectIUnknown As IntPtr, _
<OutAttribute> ByRef projectIUnknown As IntPtr _
) As Integer
'Utilisation
Dim instance As IVsAggregatableProjectFactoryCorrected
Dim outerProjectIUnknown As IntPtr
Dim projectIUnknown As IntPtr
Dim returnValue As Integer
returnValue = instance.PreCreateForOuter(outerProjectIUnknown, _
projectIUnknown)
int PreCreateForOuter(
IntPtr outerProjectIUnknown,
out IntPtr projectIUnknown
)
int PreCreateForOuter(
IntPtr outerProjectIUnknown,
[OutAttribute] IntPtr% projectIUnknown
)
abstract PreCreateForOuter :
outerProjectIUnknown:IntPtr *
projectIUnknown:IntPtr byref -> int
function PreCreateForOuter(
outerProjectIUnknown : IntPtr,
projectIUnknown : IntPtr
) : int
Parameters
- outerProjectIUnknown
Type: System.IntPtr
[in] Pointer to the outer IUnknown interface.
- projectIUnknown
Type: System.IntPtr%
[out] Pointer to the inner or owned project subtype IUnknown interface.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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
IVsAggregatableProjectFactoryCorrected Interface