'Declaration Public Overloads Function GetCellText( _ ByVal columnIndex As System.Integer, _ ByVal textFormatMode As TextFormatMode _ ) As System.String
public System.string GetCellText( System.int columnIndex, TextFormatMode textFormatMode )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | textFormatMode is not defined in the TextFormatMode enumeration. |
System.InvalidOperationException | If the row was removed from the worksheet. |
The text is based on the value of the cell and the format string applied to the cell.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, 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
View on GitHub