Version

ClearContent Method (TableCellNode)

Clears the cell content.
Syntax
'Declaration
 
Public Sub ClearContent() 
public void ClearContent()
Remarks

ClearContent method clears the content of the cell. If the cell has multiple paragraphs it removes all but the last paragraph and clears the contents of the last paragraph. This is to retain at least one paragraph in the cell which is necessary in order to allow the caret to be positioned inside the cell to allow for further input via UI.

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