Utf16StringMarshaller.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*
The unmanaged string to convert.
Returns
A managed string.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.