14.7.2.6 OracleString(byte [ ], int, int, bool, bool)
This constructor creates a new instance of the OracleString structure and sets its value using a byte array, and specifies the following: the starting index in the byte array, the number of bytes to copy from the byte array, if the supplied byte array is Unicode encoded, and if case is ignored in comparison.
Declaration
// C# public OracleString(byte[] data, int index, int count, bool fUnicode, bool isCaseIgnored);
Parameters
-
dataByte array data for the new
OracleString. -
indexThe starting index to copy from
data. -
countThe number of bytes to copy.
-
fUnicodeSpecifies if the supplied
datais Unicode encoded. Specifiestrueif Unicode encoded; otherwise,false. -
isCaseIgnoredSpecifies if case is ignored in comparison. Specifies
trueif case is to be ignored; otherwise, specifiesfalse.
Exceptions
ArgumentNullException - The data parameter is null.
ArgumentOutOfRangeException - The count parameter is less than zero.
IndexOutOfRangeException - The index parameter is greater than or equal to the length of data or less than zero.