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 string? ConvertToManaged (ushort* unmanaged);

Parameters

unmanaged
UInt16*

An unmanaged string to convert.

Returns

The converted managed string.

Applies to

Produit Versions
.NET 7, 8, 9