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 策略。

适用于