public function RemoveColumn($intColumnIndex)
{
$this->blnModified = true;
try {
$intColumnIndex = QType::Cast($intColumnIndex, QType::Integer);
} catch (QInvalidCastException $objExc) {
$objExc->IncrementOffset();
throw $objExc;
}
if ($intColumnIndex < 0 || $intColumnIndex > count($this->objColumnArray) - 1) {
throw new QIndexOutOfRangeException($intColumnIndex, "RemoveColumn()");
}
array_splice($this->objColumnArray, $intColumnIndex, 1);
}