Marshal.CreateAggregatedObject Method (IntPtr, Object)
Aggregates a managed object with the specified COM object.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] public static IntPtr CreateAggregatedObject( IntPtr pOuter, object o )
The outer IUnknown pointer.
An object to aggregate.
Return ValueType: System.IntPtr
The inner IUnknown pointer of the managed object.
The IUnknown pointer of the managed object.method aggregates the inner managed pointer of a managed object with the specified outer pointer, and then returns an inner
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 4.5
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1