Xceed Workbooks for .NET v2.0 Documentation
Value Property (Cell)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Cell Class : Value Property
Gets or sets the value for this Cell. Currently, the valid value types can be numerics ( int, double, float, byte, decimal, short, long, sbyte, ushort, uint, ulong), string, DateTime, TimeSpan or bool. The default value is null.
Syntax
'Declaration
 
Public Property Value As Object
'Usage
 
Dim instance As Cell
Dim value As Object
 
instance.Value = value
 
value = instance.Value
public object Value {get; set;}
Remarks
Please note that loading an xlsx workbook will read the numeric values as double.

Also note, that the maximum number of characters for a Cell value is 32767.
Requirements

Target Platforms: Windows 11, Windows 10, 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

See Also

Reference

Cell Class
Cell Members