Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

String Constructor

Initializes a new instance of the String class.
Name Description
String (Char*) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters.

Supported by the .NET Compact Framework.

String (Char[]) Initializes a new instance of the String class to the value indicated by an array of Unicode characters.

Supported by the .NET Compact Framework.

String (SByte*) Initializes a new instance of the String class to the value indicated by a pointer to an array of 8-bit signed integers.

Supported by the .NET Compact Framework.

String (Char, Int32) Initializes a new instance of the String class to the value indicated by a specified Unicode character repeated a specified number of times.

Supported by the .NET Compact Framework.

String (Char*, Int32, Int32) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters, a starting character position within that array, and a length.

Supported by the .NET Compact Framework.

String (Char[], Int32, Int32) Initializes a new instance of the String class to the value indicated by an array of Unicode characters, a starting character position within that array, and a length.

Supported by the .NET Compact Framework.

String (SByte*, Int32, Int32) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting character position within that array, and a length.
String (SByte*, Int32, Int32, Encoding) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting character position within that array, a length, and an Encoding object.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.