StrategyBasedComWrappers.GetOrCreateIUnknownStrategy Method

Definition

Gets or creates the IUnknown strategy for a new COM object wrapper.

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

Returns

The IUnknown strategy to use for the new COM object.

Applies to