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

    Parameters

    value
    The string representation of the date to store in the property.
    Exceptions
    ExceptionDescription
    value is not a valid date.
    Example
    The following example shows how to create a new DateTimeProperty from the date and time defined as text.
    DateTimeProperty dateTimeProperty = new DateTimeProperty("1.4.1992 20:45:00");
    See Also