StrategyBasedComWrappers.GetOrCreateIUnknownStrategy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.