Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] [CLSCompliantAttribute(false)] public unsafe String( char* value )
public: [SecurityCriticalAttribute] [CLSCompliantAttribute(false)] String( wchar_t* value )
[<SecurityCriticalAttribute>] [<CLSCompliantAttribute(false)>] new : value:nativeptr<char> -> String
A pointer to a null-terminated array of Unicode characters.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1