WrapperPolicy.CreateAggregatedObject(Object) Method

Definition

Wraps the provided object in a native layer that implements STA-threaded COM behavior.

public:
 static System::Object ^ CreateAggregatedObject(System::Object ^ managedObject);
public:
 static Platform::Object ^ CreateAggregatedObject(Platform::Object ^ managedObject);
 static winrt::Windows::Foundation::IInspectable CreateAggregatedObject(winrt::Windows::Foundation::IInspectable const & managedObject);
public static object CreateAggregatedObject (object managedObject);
static member CreateAggregatedObject : obj -> obj
Public Shared Function CreateAggregatedObject (managedObject As Object) As Object

Parameters

managedObject
Object

Returns

Applies to