共用方式為


StrategyBasedComWrappers.GetOrCreateIUnknownStrategy 方法

定義

取得或建立新 COM 物件包裝函式的 IUnknown 策略。

protected:
 virtual System::Runtime::InteropServices::Marshalling::IIUnknownStrategy ^ GetOrCreateIUnknownStrategy();
protected virtual System.Runtime.InteropServices.Marshalling.IIUnknownStrategy GetOrCreateIUnknownStrategy ();
abstract member GetOrCreateIUnknownStrategy : unit -> System.Runtime.InteropServices.Marshalling.IIUnknownStrategy
override this.GetOrCreateIUnknownStrategy : unit -> System.Runtime.InteropServices.Marshalling.IIUnknownStrategy
Protected Overridable Function GetOrCreateIUnknownStrategy () As IIUnknownStrategy

傳回

要用於新 COM 物件的 IUnknown 策略。

適用於