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.
Exception Type | Condition |
---|---|
ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | startIndex or length is less than
zero.
- or - The sum of paramref name="startIndex"/ and length is greater than the number of elements in value. |
NullableString Class | NullableTypes Namespace | NullableString Constructor Overload List