Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

String Constructor

Initializes a new instance of the String class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework String(Char*) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework String(Char[]) Initializes a new instance of the String class to the value indicated by an array of Unicode characters.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method Supported by the .NET Compact Framework Supported by the XNA 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.
Public method 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.
Public method 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.
Top

Community Additions

Show:
© 2015 Microsoft