2 // System.Data.IGetTypedData.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2003
12 namespace System.Data {
13 public interface IGetTypedData
17 bool GetBoolean (int i);
19 long GetBytes (int i, long fieldOffset, byte[] buffer, int bufferOffset, int length);
21 long GetChars (int i, long fieldOffset, char[] buffer, int bufferOffset, int length);
22 DateTime GetDateTime (int i);
23 decimal GetDecimal (int i);
24 double GetDouble (int i);
25 float GetFloat (int i);
27 short GetInt16 (int i);
29 long GetInt64 (int i);
30 object GetObjectRef (int i);
31 string GetString (int i);
32 object GetValue (int i);
33 bool IsDBNull (int i);
34 bool IsSetAsDefault (int i);