BStrStringMarshaller.ManagedToUnmanagedIn Struct
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.
Custom marshaller to marshal a managed string as a ANSI unmanaged string.
public: value class BStrStringMarshaller::ManagedToUnmanagedIn
public ref struct BStrStringMarshaller.ManagedToUnmanagedIn
type BStrStringMarshaller.ManagedToUnmanagedIn = struct
Public Structure BStrStringMarshaller.ManagedToUnmanagedIn
- Inheritance
Properties
BufferSize |
Gets the requested buffer size for optimized marshalling. |
Methods
Free() |
Frees any allocated unmanaged string memory. |
FromManaged(String, Span<Byte>) |
Initializes the marshaller with a managed string and requested buffer. |
ToUnmanaged() |
Converts the current managed string to an unmanaged string. |
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.