
System.Object
EPLAN.Harness.API.ApiProperties.Property
EPLAN.Harness.API.ApiProperties.DateTimeProperty
Represents a property with a date and time value.
DateTimeProperty date = new DateTimeProperty(new DateTime(1992, 4, 1, 20, 45, 0)); Console.WriteLine(date); Console.WriteLine(date.ToString()); Console.WriteLine((DateTime)date.Value); Console.WriteLine(date.Value.ToString()); // Result: // 1. 4. 1992 20:45:00 // 1. 4. 1992 20:45:00 // 1. 4. 1992 20:45:00 // 1. 4. 1992 20:45:00
Name | Description | |
---|---|---|
![]() | DateTimeProperty Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | IsInterval | Specifies whether the property is interval. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
![]() | Unit | Unit of the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
![]() | Value | Gets the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
Name | Description | |
---|---|---|
![]() | Equals | Is this property equal to the following object? |
![]() | GetHashCode | Serves as the default hash function. |
![]() | ToString | Returns a string that represents the current object. (Inherited from EPLAN.Harness.API.ApiProperties.Property) |
![]() | Are these properties equal? |
![]() | Overloaded. Implicit conversion from System.DateTime to DateTimeProperty. |
![]() | Are these properties not equal? |