2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data / DataRowCollection.cs
1 //
2 // System.Data.DataRowCollection.cs
3 //
4 // Author:
5 //   Daniel Morgan <danmorg@sc.rr.com>
6 //
7 // (C) Ximian, Inc 2002
8 //
9
10 using System;
11 using System.Collections;
12 using System.ComponentModel;
13
14 namespace System.Data
15 {
16         /// <summary>
17         /// Collection of DataRows in a DataTable
18         /// </summary>
19         [Serializable]
20         public class DataRowCollection : InternalDataCollectionBase {
21
22                 private ArrayList rows = null;
23
24                 // Item indexer
25                 public DataRow this[int index] {
26                         [MonoTODO]
27                         get {
28                                 return (DataRow) rows[index];
29                         }
30                 }
31
32                 [MonoTODO]
33                 public void Add (DataRow row) {
34                         rows.Add(row);
35                 }
36
37                 [MonoTODO]\r
38                 public virtual DataRow Add(object[] values) {
39                         throw new NotImplementedException ();
40                 }
41
42                 [MonoTODO]
43                 public void Clear() {
44                         throw new NotImplementedException ();
45                 }
46
47                 [MonoTODO]\r
48                 public bool Contains(object key) {
49                         throw new NotImplementedException ();
50                 }
51
52                 [MonoTODO]\r
53                 public DataRow Find(object key) {
54                         throw new NotImplementedException ();
55                 }
56
57                 [MonoTODO]\r
58                 public DataRow Find(object[] keys) {
59                         throw new NotImplementedException ();
60                 }
61
62                 [MonoTODO]
63                 public void InsertAt(DataRow row, int pos) {
64                         throw new NotImplementedException ();
65                 }
66
67                 [MonoTODO]
68                 public void Remove(DataRow row) {
69                         throw new NotImplementedException ();
70                 }
71 \r
72                 [MonoTODO]
73                 public void RemoveAt(int index) {
74                         throw new NotImplementedException ();
75                 }
76
77                 [MonoTODO]
78                 protected override ArrayList List {
79                         [MonoTODO]
80                         get {
81                                 return rows;
82                         }
83                 }               
84         }
85 }