9 references to PtrToStringUni
System.Data (9)
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (7)
830
string strdata = buffer.
PtrToStringUni
(0, Math.Min(lengthOrIndicator, cbMaxData) / 2);
1423
string retval = buffer.
PtrToStringUni
(0, cchNameLength/2 /*cch*/);
1468
string retval = buffer.
PtrToStringUni
(0, numericAttribute/2 /*cch*/);
2075
columnname = buffer.
PtrToStringUni
(0, (int)cbActual/2/*cch*/);
2145
columnname = buffer.
PtrToStringUni
(0, (int)cbActual/2/*cch*/);
2266
columnname = buffer.
PtrToStringUni
(colnameBufOffset, (int)cbColnameLen/2/*cch*/);
2267
indexname = buffer.
PtrToStringUni
(indexBufOffset, (int)cbIndexLen/2/*cch*/);
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
42
value=
PtrToStringUni
(offset, cb);
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
1057
return RowBinding.
PtrToStringUni
(ValueOffset, byteCount / 2);