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);
}
}