| DateTimeOperationsMultipliedWith Method |
Multiplies the time span with the specified factor.
Namespace:
TomsToolbox.Essentials
Assembly:
TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax public static TimeSpan MultipliedWith(
this TimeSpan timeSpan,
double factor
)
<ExtensionAttribute>
Public Shared Function MultipliedWith (
timeSpan As TimeSpan,
factor As Double
) As TimeSpan
Parameters
- timeSpan
- Type: SystemTimeSpan
The time span. - factor
- Type: SystemDouble
The factor.
Return Value
Type:
TimeSpanThe time span multiplied with the factor
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TimeSpan. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also