Show / Hide Table of Contents

Class CellValue

The kinds of value that a cell in a spreadsheet can have.

Inheritance
System.Object
CellValue
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.GoogleDoc
Assembly: cs.temp.dll.dll
Syntax
public class CellValue

Constructors

CellValue()

Declaration
public CellValue()

CellValue(String, String, String)

Declaration
public CellValue(string formattedValue, string formulaValue, string stringValue)
Parameters
Type Name Description
System.String formattedValue

The formatted value of the cell. This is the value as it's shown to the user.

System.String formulaValue

Represents a formula.

System.String stringValue

Represents a value in string format.

Properties

FormattedValue

The formatted value of the cell. This is the value as it's shown to the user.

Declaration
public string FormattedValue { get; }
Property Value
Type Description
System.String

FormulaValue

Represents a formula.

Declaration
public string FormulaValue { get; }
Property Value
Type Description
System.String

StringValue

Represents a value in string format.

Declaration
public string StringValue { get; }
Property Value
Type Description
System.String

Methods

GetValue<T>()

Converts Cell StringValue to the specified type. Some special cases:

  • If is a non-primitive serializable value the is used to make object from string.
Declaration
public T GetValue<T>()
Returns
Type Description
T

Converted value.

Type Parameters
Name Description
T

Type you want to convert a value to.

In This Article
Back to top Generated by DocFX