DeleteRow Method (ITable)

DeleteRow Method (ITable) | Send Feedback
See Also

Retval[out]
  True if the row is deleted, false if not

Index
  Index of the row to delete from the Table

Deletes the specified row from the Table.

# Syntax

Visual Basic |
--- | ---
    Function DeleteRow( _
       ByVal Index As System.Integer _
    ) As System.Boolean

C# |
--- | ---
    System.bool DeleteRow(
       System.int Index
    )

JavaScript |
--- | ---
    DeleteRow(
       Index : Number
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT DeleteRow(
       LONG Index,
       VARIANT_BOOL* Retval
    )

C++ |
--- | ---
    DSRESULT DeleteRow(
       long Index,
       bool* Retval
    )

#### Parameters

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

# Remarks

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

# See Also

####

ITable Interface
ITable Members
ITable::InsertRow Method ()
ITable::DeleteColumn Method ()
ITable::InsertColumn Method ()

# Availability

DraftSight V1R4.0