संपादित करें

इसके माध्यम से साझा किया गया


AnsiStringMarshaller.ManagedToUnmanagedIn Struct

Definition

Custom marshaller to marshal a managed string as a ANSI unmanaged string.

public: value class AnsiStringMarshaller::ManagedToUnmanagedIn
public ref struct AnsiStringMarshaller.ManagedToUnmanagedIn
type AnsiStringMarshaller.ManagedToUnmanagedIn = struct
Public Structure AnsiStringMarshaller.ManagedToUnmanagedIn
Inheritance
AnsiStringMarshaller.ManagedToUnmanagedIn

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