共用方式為


WrapperPolicy.CreateFreeThreadedAggregatedObject(Object) Method

Definition

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

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

Parameters

managedObject
Object

Returns

Applies to