Marshal.CreateAggregatedObject<'T> Method (IntPtr, 'T)
[Supported in the .NET Framework 4.5.1 and later versions]
Aggregates a managed object of the specified type with the specified COM object.
Assembly: mscorlib (in mscorlib.dll)
[<SecurityCriticalAttribute>] static member CreateAggregatedObject<'T> : pOuter:nativeint * o:'T -> nativeint
The managed object to aggregate.
The type of the managed object to aggregate.
TheIUnknown pointer of the managed object.method aggregates the inner managed pointer of a managed object of a specified type with the specified outer pointer, and returns an inner
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 8
Available since 4.5.1
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1