Attempts to convert the specified value to a TimeSpan.
Namespace: MindFusion.Spreadsheet.Wpf.Expressions
Assembly: MindFusion.Spreadsheet.Wpf
C# Copy Code |
---|
Nullable<TimeSpan> ToTimeSpan ( |
Visual Basic Copy Code |
---|
Function ToTimeSpan( _ |
The value to convert.
A TimeSpan value corresponding to the specified value, or null (Nothing in Visual Basic), if value cannot be represented as TimeSpan.
This method is usually used when trying to interpret a parameter passed to a custom function.