Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / DateTimeProperty Class / Implicit Type Conversion Operator / Implicit Type Conversion(DateTimeProperty,String) Operator
Date in string representation to store in the property.
Example
In This Topic
    Implicit Type Conversion(DateTimeProperty,String) Operator
    In This Topic
    Implicit conversion from System.String to DateTimeProperty.
    Syntax
    public DateTimeProperty operator implicit( 
       string value
    )

    Parameters

    value
    Date in string representation to store in the property.

    Return Value

    New DateTimeProperty created from a given System.String value.
    Example
    The following example shows how to convert a string value to the DateTimeProperty.
    DateTimeProperty dateTimeProperty = "1.4.1992 20:45:00";
    See Also