System.Data.DataColumnCollection.this C# (CSharp) Method

this() public method

Gets the from the collection at the specified index.
public this ( int index ) : DataColumn
index int
return DataColumn
        public DataColumn this[int index]
        {
            get
            {
                try
                {
                    // Perf: use the readonly _list field directly and let ArrayList check the range
                    return (DataColumn)_list[index];
                }
                catch (ArgumentOutOfRangeException)
                {
                    throw ExceptionBuilder.ColumnOutOfRange(index);
                }
            }
        }

Same methods

DataColumnCollection::this ( string name ) : DataColumn
DataColumnCollection::this ( string name, string ns ) : DataColumn