BStrStringMarshaller.ConvertToManaged(UInt16*) Method
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.
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.