System.Data.DataTableCollection.this C# (CSharp) Метод

this() публичный Метод

Gets the table specified by its index.
public this ( int index ) : DataTable
index int
Результат DataTable
        public DataTable this[int index]
        {
            get
            {
                try
                {
                    // Perf: use the readonly _list field directly and let ArrayList check the range
                    return (DataTable)_list[index];
                }
                catch (ArgumentOutOfRangeException)
                {
                    throw ExceptionBuilder.TableOutOfRange(index);
                }
            }
        }

Same methods

DataTableCollection::this ( string name ) : DataTable
DataTableCollection::this ( string name, string tableNamespace ) : DataTable