Version

InsertTableRow(Int32,Boolean,String) Method

Inserts a new table row before or after existing table row at documentOffset.
Syntax
'Declaration
 
Public Overloads Function InsertTableRow( _
   ByVal documentOffset As Integer, _
   ByVal before As Boolean, _
   ByRef error As String _
) As TableRowNode
public TableRowNode InsertTableRow( 
   int documentOffset,
   bool before,
   out string error
)

Parameters

documentOffset
Document offset at which to insert new table. There must be a table at this offset.
before
True inserts the new row before the row at documentOffset. False inserts it after the row at documentOffset.
error
If there's an error, this out parameter is set to the error information.

Return Value

Newly inserted TableRowNode instance or null if there's an error, such as when there's no table at documentOffset.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also