Редагувати

Поділитися через


Utf8StringMarshaller.ConvertToUnmanaged(String) Method

Definition

Converts a string to an unmanaged version.

public:
 static System::Byte* ConvertToUnmanaged(System::String ^ managed);
public static byte* ConvertToUnmanaged (string? managed);
static member ConvertToUnmanaged : string -> nativeptr<byte>

Parameters

managed
String

The managed string to convert.

Returns

Byte*

An unmanaged string.

Applies to