diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/DataGridItemCollection.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/DataGridItemCollection.cs | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DataGridItemCollection.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DataGridItemCollection.cs deleted file mode 100644 index 8f73b541336..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls/DataGridItemCollection.cs +++ /dev/null @@ -1,83 +0,0 @@ -/**
- * Namespace: System.Web.UI.WebControls
- * Class: DataGridItemCollection
- *
- * Author: Gaurav Vaish
- * Maintainer: gvaish@iitk.ac.in
- * Contact: <my_scripts2001@yahoo.com>, <gvaish@iitk.ac.in>
- * Implementation: yes
- * Status: 100%
- *
- * (C) Gaurav Vaish (2002)
- */
-
-using System;
-using System.Collections;
-using System.Web;
-using System.Web.UI;
-
-namespace System.Web.UI.WebControls
-{
- public class DataGridItemCollection : ICollection, IEnumerable
- {
- private ArrayList items;
-
- public DataGridItemCollection(ArrayList items)
- {
- this.items = items;
- }
-
- public int Count
- {
- get
- {
- return items.Count;
- }
- }
-
- public bool IsReadOnly
- {
- get
- {
- return false;
- }
- }
-
- public bool IsSynchronized
- {
- get
- {
- return false;
- }
- }
-
- public DataGridItem this[int index]
- {
- get
- {
- return (DataGridItem)(items[index]);
- }
- }
-
- public object SyncRoot
- {
- get
- {
- return this;
- }
- }
-
- public void CopyTo(Array array, int index)
- {
- foreach(DataGridItem current in this)
- {
- array.SetValue(current, index++);
- }
- }
-
- public IEnumerator GetEnumerator()
- {
- return items.GetEnumerator();
- }
- }
-}
|