Table of Contents

Class DateObjectValue

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

Class encapsulating the date object value.

public class DateObjectValue : ObjectValue
Inheritance
DateObjectValue
Implements
Inherited Members

Constructors

DateObjectValue(ObjectValueType, string)

Constructor taking an object typ and value to set.

public DateObjectValue(ObjectValueType objectType, string value)

Parameters

objectType ObjectValueType
value string

Properties

ObjectType

Method to return the type of object this is.

public ObjectValueType ObjectType { get; }

Property Value

ObjectValueType

Value

Getter/setter for string value.

public string Value { get; set; }

Property Value

string

Methods

ToDate()

Helper function to return string value as a dateTime.

public DateTime ToDate()

Returns

DateTime