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

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

Removes the table at the given index from the collection
public RemoveAt ( int index ) : void
index int
Результат void
        public void RemoveAt(int index)
        {
            long logScopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.RemoveAt|API> {0}, index={1}", ObjectID, index);
            try
            {
                DataTable dt = this[index];
                if (dt == null)
                {
                    throw ExceptionBuilder.TableOutOfRange(index);
                }
                Remove(dt);
            }
            finally
            {
                DataCommonEventSource.Log.ExitScope(logScopeId);
            }
        }