Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / DateTimeProperty Class / DateTimeProperty Constructor / DateTimeProperty Constructor(DateTime)
The date to store in the property.
Example
In This Topic
    DateTimeProperty Constructor(DateTime)
    In This Topic
    Creates a new instance of the DateTimeProperty with the specified value.
    Syntax
    public DateTimeProperty( 
       DateTime dateTime
    )

    Parameters

    dateTime
    The date to store in the property.
    Example
    The following example shows how to create a new DateTimeProperty with the current date and time.
    DateTimeProperty dateTimeProperty = new DateTimeProperty(DateTime.Now);
    See Also