Attempts to convert the specified value to a TimeSpan.
Namespace: MindFusion.Spreadsheet.Expressions
Assembly: MindFusion.Spreadsheet.WinForms
SyntaxC#
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.
RemarksThis method is usually used when trying to interpret a parameter passed to a custom function.
See Also