DfsExtensionsTimeStepInSeconds Method (IDfsEqTimeAxis) |
Calculate the time step in seconds for an equidistant time axis
If the time axis unit can not be converted to seconds, an exception is thrown
Namespace: DHI.Generic.MikeZero.DFSAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static double TimeStepInSeconds(
this IDfsEqTimeAxis timeAxis
)
<ExtensionAttribute>
Public Shared Function TimeStepInSeconds (
timeAxis As IDfsEqTimeAxis
) As Double
public:
[ExtensionAttribute]
static double TimeStepInSeconds(
IDfsEqTimeAxis^ timeAxis
)
[<ExtensionAttribute>]
static member TimeStepInSeconds :
timeAxis : IDfsEqTimeAxis -> float
Parameters
- timeAxis
- Type: DHI.Generic.MikeZero.DFSIDfsEqTimeAxis
Return Value
Type:
DoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDfsEqTimeAxis. 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