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

    Parameters

    value
    Date to store in the property.

    Return Value

    New DateTimeProperty created from a given System.DateTime value.
    Example
    The following example shows how to convert a DateTime value to the DateTimeProperty.
    DateTimeProperty dateTimeProperty = DateTime.Now;
    See Also