Mono Class Library: System.String Overview | MembersSystem.String Constructor |
Constructs and 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. [Edit]
|
- value
- A pointer to a sbyte array. [Edit]
- startIndex
- A int containing the starting position within value. [Edit]
- length
- A int containing the number of characters within value to use. If length is zero, string.Empty is created. [Edit]
- enc
- A System.Text.Encoding object that specifies how the array referenced by value is encoded. [Edit]
- enc
- Documentation for this section has not yet been entered. [Edit]
Type Reason ArgumentOutOfRangeException startIndex or length is less than zero.
-or-
value is a null pointer and length is not zero.
[Edit]
If value is a null pointer, a string.Empty instance is constructed. [Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0