33 references to WSTR
System.Data (33)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (16)
317case NativeDBType.WSTR: 341case (NativeDBType.BYREF | NativeDBType.WSTR): 367case NativeDBType.WSTR: 373case (NativeDBType.BYREF | NativeDBType.WSTR): 499case NativeDBType.WSTR: 525case (NativeDBType.BYREF | NativeDBType.WSTR): 640Debug.Assert((NativeDBType.BYREF | NativeDBType.WSTR) == DbType, "Value_ByRefWSTR"); 663Debug.Assert((NativeDBType.BYREF | NativeDBType.WSTR) == DbType, "Value_ByRefWSTR"); 680Debug.Assert((NativeDBType.BYREF | NativeDBType.WSTR) == DbType, "Value_ByRefWSTR"); 1053Debug.Assert(NativeDBType.WSTR == DbType, "Value_WSTR"); 1061Debug.Assert(NativeDBType.WSTR == DbType, "Value_WSTR"); 1074Debug.Assert(NativeDBType.WSTR == DbType, "Value_WSTR"); 1420case NativeDBType.WSTR: 1423case (NativeDBType.BYREF | NativeDBType.WSTR): 1432case NativeDBType.WSTR: 1435case (NativeDBType.BYREF | NativeDBType.WSTR):
fx\src\data\System\Data\OleDb\DBBindings.cs (1)
178case (NativeDBType.BYREF | NativeDBType.WSTR): // ADP.PtrSize
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (11)
161static private readonly NativeDBType D_Char = new NativeDBType(0xff, -1, true, false, OleDbType.Char, NativeDBType.STR, S_CHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiStringFixedLength); // 3 - (ansi pointer) 178static private readonly NativeDBType D_LongVarChar = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarChar, NativeDBType.STR, S_LONGVARCHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiString); // 20 - (ansi pointer) 189static private readonly NativeDBType D_VarChar = new NativeDBType(0xff, -1, false, false, OleDbType.VarChar, NativeDBType.STR, S_VARCHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiString); // 30 - (ansi pointer) 192static private readonly NativeDBType D_WChar = new NativeDBType(0xff, -1, true, false, OleDbType.WChar, NativeDBType.WSTR, S_WCHAR, typeof(System.String), NativeDBType.WSTR, DbType.StringFixedLength); // 33 - (unicode pointer) 193static private readonly NativeDBType D_VarWChar = new NativeDBType(0xff, -1, false, false, OleDbType.VarWChar, NativeDBType.WSTR, S_WVARCHAR, typeof(System.String), NativeDBType.WSTR, DbType.String ); // 34 - (unicode pointer) 194static private readonly NativeDBType D_LongVarWChar = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarWChar, NativeDBType.WSTR, S_WLONGVARCHAR, typeof(System.String), NativeDBType.WSTR, DbType.String ); // 35 - (unicode pointer) 197static private readonly NativeDBType D_Xml = new NativeDBType(0xff, -1, false, false, OleDbType.VarWChar, NativeDBType.XML, S_XML, typeof(System.String), NativeDBType.WSTR, DbType.String ); // 38 - (unicode pointer) 391case WSTR: return (isLong) ? D_LongVarWChar : (isFixed) ? D_WChar : D_VarWChar;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
1471else if ((NativeDBType.WSTR == getType) && (-1 != info.size)) { // WebData 99298
fx\src\data\System\Data\OleDb\OleDbParameter.cs (3)
304else if (NativeDBType.WSTR == dbtype.dbType) { 328if (NativeDBType.WSTR == dbtype.wType) { 350if (NativeDBType.WSTR == wtype) { // allow space for null termination character
fx\src\data\System\Data\OleDb\RowBinding.cs (1)
363case (NativeDBType.BYREF | NativeDBType.WSTR):