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
ObjectValueTypevalue
string
Properties
ObjectType
Method to return the type of object this is.
public ObjectValueType ObjectType { get; }
Property Value
Value
Getter/setter for string value.
public string Value { get; set; }
Property Value
Methods
ToDate()
Helper function to return string value as a dateTime.
public DateTime ToDate()