Table of Contents

Class Cell.AddCellBuilder

Namespace
Smartsheet.Api.Models
Assembly
smartsheet-csharp-sdk.dll

A convenience class for adding a cell with the necessary fields for inserting into a list of cells.

public class Cell.AddCellBuilder
Inheritance
Cell.AddCellBuilder
Inherited Members

Constructors

AddCellBuilder(long?, object)

Set required properties.

public AddCellBuilder(long? columnId, object value)

Parameters

columnId long?

the column Id

value object

the value of the cell

Methods

Build()

Builds and returns the Cell object.

public Cell Build()

Returns

Cell

Cell object

GetColumnId()

Gets the column Id.

public long? GetColumnId()

Returns

long?

the column Id

GetFormat()

Gets the format.

public string GetFormat()

Returns

string

the format

Gets the hyperlink.

public Hyperlink GetHyperlink()

Returns

Hyperlink

the hyperlink

GetStrict()

Gets the Strict option.

public bool? GetStrict()

Returns

bool?

the Strict option

GetValue()

Gets the value.

public object GetValue()

Returns

object

the value

SetColumnId(long?)

Sets the column Id

public Cell.AddCellBuilder SetColumnId(long? columnId)

Parameters

columnId long?

the column Id

Returns

Cell.AddCellBuilder

this AddCellBuilder

SetFormat(string)

Sets the format.

public Cell.AddCellBuilder SetFormat(string format)

Parameters

format string

the format

Returns

Cell.AddCellBuilder

this AddCellBuilder

Sets the hyperlink.

public Cell.AddCellBuilder SetHyperlink(Hyperlink hyperlink)

Parameters

hyperlink Hyperlink

the hyperlink

Returns

Cell.AddCellBuilder

this AddCellBuilder

SetStrict(bool?)

Sets whether cells is Strict or not.

public Cell.AddCellBuilder SetStrict(bool? strict)

Parameters

strict bool?

the Strict option

Returns

Cell.AddCellBuilder

this AddCellBuilder

SetValue(object)

Sets the cell value

public Cell.AddCellBuilder SetValue(object value)

Parameters

value object

the value

Returns

Cell.AddCellBuilder

this AddCellBuilder