AFTime Constructor
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Initializes a new instance of the AFTime structure.
Overload List
| Name | Description | |
|---|---|---|
| AFTime(DateTime) |
Initializes a new instance of the AFTime structure to the specified DateTime.
| |
| AFTime(Double) |
Initializes a new instance of the AFTime structure to the specified number of
seconds since January 1, 1970.
| |
| AFTime(Int64) |
Initializes a new instance of the AFTime structure to the specified number of ticks.
| |
| AFTime(Object) |
Initializes a new instance of the AFTime structure to the specified value.
| |
| AFTime(String) |
Initializes a new instance of the AFTime structure to the specified string
representation of time.
| |
| AFTime(Object, AFTime) |
Initializes a new instance of the AFTime structure to the specified value
representation of time using the CurrentCulture
information and formatting style, providing a default if necessary.
| |
| AFTime(Object, IFormatProvider) |
Initializes a new instance of the AFTime structure to the specified value
representation of time using the specified culture-specific information and
formatting style.
| |
| AFTime(String, IFormatProvider) |
Initializes a new instance of the AFTime structure to the specified string
representation of time using the specified culture-specific formatting information.
| |
| AFTime(Object, AFTime, IFormatProvider) |
Initializes a new instance of the AFTime structure to the specified value
representation of time using the specified culture-specific information and
formatting style, providing a default if necessary.
|
See Also
In This Topic
Related Links
- AFTime Constructor (DateTime)
- AFTime Constructor (Double)
- AFTime Constructor (Int64)
- AFTime Constructor (Object)
- AFTime Constructor (String)
- AFTime Constructor (Object, AFTime)
- AFTime Constructor (Object, IFormatProvider)
- AFTime Constructor (String, IFormatProvider)
- AFTime Constructor (Object, AFTime, IFormatProvider)