Edit

Share via


Utf16StringMarshaller.ConvertToManaged(UInt16*) Method

Definition

Converts an unmanaged string to a managed version.

public:
 static System::String ^ ConvertToManaged(System::UInt16* unmanaged);
public static string? ConvertToManaged (ushort* unmanaged);
static member ConvertToManaged : nativeptr<uint16> -> string

Parameters

unmanaged
UInt16*

The unmanaged string to convert.

Returns

A managed string.

Applies to