Struct ComSafeArrayMarshaller<T>.ManagedToUnmanagedIn
- Namespace
- CsCom.Runtime
- Assembly
- CsCom.Runtime.dll
Passes an array to a COM method; the caller keeps owning it.
public struct ComSafeArrayMarshaller<T>.ManagedToUnmanagedIn
- Inherited Members
Methods
Free()
Keeps the array alive until the call returns, so that it is not finalized during the call.
public readonly void Free()
FromManaged(ComSafeArray<T>?)
Takes the array.
public void FromManaged(ComSafeArray<T>? managed)
Parameters
managedComSafeArray<T>
ToUnmanaged()
Gets the SAFEARRAY pointer.
public readonly nint ToUnmanaged()