StrategyBasedComWrappers.GetOrCreateIUnknownStrategy 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或创建新 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 策略。