Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.Runtime.InteropServices.CreateObjectFlags
Assembly: System.Runtime.InteropServices
Specifies flags for the <see cref="M:System.Runtime.InteropServices.ComWrappers.GetOrCreateObjectForComInstance(System.IntPtr,System.Runtime.InteropServices.CreateObjectFlags)" /> method.
Values
None
Flag used to indicate no flags set.
TrackerObject
Indicates that the supplied external COM object implements the IReferenceTracker.
UniqueInstance
Indicates to ignore internal caching and always create a unique instance.
Aggregation
Defined when COM aggregation is involved (that is an inner instance supplied).
Unwrap
<para>Check if the supplied instance is actually a wrapper and if so return the underlying managed object rather than creating a new wrapper.</para> <para>This matches the built-in RCW semantics for COM interop.</para>