AFTimeSpan.TryParse Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Converts the string representation of a time interval to its AFTimeSpan equivalent
and returns a value that indicates whether the conversion succeeded.
Overload List
| Name | Description | |
|---|---|---|
| TryParse(String, AFTimeSpan) |
Converts the string representation of a time interval to its AFTimeSpan equivalent
by using the CurrentCulture and returns a value that indicates
whether the conversion succeeded.
| |
| TryParse(String, IFormatProvider, AFTimeSpan) |
Converts the string representation of a time interval to its AFTimeSpan equivalent
by using the specified culture-specific formatting information and returns a value that indicates
whether the conversion succeeded.
| |
| TryParse(String, IFormatProvider, AFTimeZone, AFTimeSpan) |
Converts the string representation of a time interval to its AFTimeSpan equivalent
with a specified AFTimeZone by using the specified culture-specific formatting
information and returns a value that indicates whether the conversion succeeded.
|