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.

struct System.​Runtime.​InteropServices.​Marshalling.​IIUnknownCacheStrategy

Assembly: System.Runtime.InteropServices

Defines an unmanaged virtual method table look up strategy.

Methods

public void
Clear​(IIUnknownStrategy unknownStrategy)
unknownStrategy The <see cref="T:System.Runtime.InteropServices.Marshalling.IIUnknownStrategy" /> to use for clearing.
Clears the cache.
public TableInfo
ConstructTableInfo​(RuntimeTypeHandle handle, IIUnknownDerivedDetails interfaceDetails, Void* ptr)
handle The runtime type handle.
interfaceDetails The interface details.
ptr The pointer to the instance to query.
Returns The constructed <see cref="T:System.Runtime.InteropServices.Marshalling.IIUnknownCacheStrategy.TableInfo" /> instance for the provided information.
Constructs a <see cref="T:System.Runtime.InteropServices.Marshalling.IIUnknownCacheStrategy.TableInfo" /> instance.
public bool
TryGetTableInfo​(RuntimeTypeHandle handle, TableInfo& info)
public bool
TrySetTableInfo​(RuntimeTypeHandle handle, TableInfo info)