Struct ComBstrMarshaller.ManagedToUnmanagedIn
- Namespace
- CsCom.Runtime
- Assembly
- CsCom.Runtime.dll
Passes a string to a COM method; the caller keeps owning it.
public struct ComBstrMarshaller.ManagedToUnmanagedIn
- Inherited Members
Methods
Free()
Keeps the string alive until the call returns, so that it is not finalized during the call.
public readonly void Free()
FromManaged(ComBstr?)
Takes the string.
public void FromManaged(ComBstr? managed)
Parameters
managedComBstr
ToUnmanaged()
Gets the BSTR pointer.
public readonly nint ToUnmanaged()