WindowsRuntimeMarshal.StringToHString Method (String)
This API supports the product infrastructure and is not intended to be used directly from your code.
Allocates a Windows Runtime HSTRING and copies the specified managed string to it.
Assembly: mscorlib (in mscorlib.dll)
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1