DeleteColumn Method (ITable) Send Feedback
See Also 
Retval[out]
True if the column is deleted, false if not
Index
Index of the column to delete from the Table
Deletes the column at the specified index from the Table.

Syntax

Visual Basic 
Function DeleteColumn( _
   ByVal Index As System.Integer _
) As System.Boolean
C# 
System.bool DeleteColumn( 
   System.int Index
)
JavaScript 
DeleteColumn( 
   Index : Number
) : Boolean
COM native C++ 
HRESULT DeleteColumn( 
   LONG Index,
   VARIANT_BOOL* Retval
) 
C++ 
DSRESULT DeleteColumn( 
   long Index,
   bool* Retval
) 

Parameters

Index
Index of the column to delete from the Table
Retval[out] or Return Value
True if the column is deleted, false if not

Remarks

Before calling this method, call ITable::TotalColumnCount to get a valid value for Index.
 

See Also

Availability

DraftSight V1R4.0