DfsExtensionsTimeSpanAsTimeSpan Method |
Calculate the time span as a System.TimeSpan
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 TimeSpan TimeSpanAsTimeSpan(
this IDfsTemporalAxis timeAxis
)
<ExtensionAttribute>
Public Shared Function TimeSpanAsTimeSpan (
timeAxis As IDfsTemporalAxis
) As TimeSpan
public:
[ExtensionAttribute]
static TimeSpan TimeSpanAsTimeSpan(
IDfsTemporalAxis^ timeAxis
)
[<ExtensionAttribute>]
static member TimeSpanAsTimeSpan :
timeAxis : IDfsTemporalAxis -> TimeSpan
Parameters
- timeAxis
- Type: DHI.Generic.MikeZero.DFSIDfsTemporalAxis
Return Value
Type:
TimeSpanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDfsTemporalAxis. 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