BStrStringMarshaller.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*

An unmanaged string to convert.

Returns

The converted managed string.

Applies to