DfsExtensionsGetDateTimes Method (IDfsEqTimeAxis, DateTime) |
Return an array of DateTimes which are the times for each timestep, using startTime
as "zero" time.
Namespace:
DHI.Generic.MikeZero.DFS
Assembly:
DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static DateTime[] GetDateTimes(
this IDfsEqTimeAxis timeAxis,
DateTime startTime
)
<ExtensionAttribute>
Public Shared Function GetDateTimes (
timeAxis As IDfsEqTimeAxis,
startTime As DateTime
) As DateTime()
public:
[ExtensionAttribute]
static array<DateTime>^ GetDateTimes(
IDfsEqTimeAxis^ timeAxis,
DateTime startTime
)
[<ExtensionAttribute>]
static member GetDateTimes :
timeAxis : IDfsEqTimeAxis *
startTime : DateTime -> DateTime[]
Parameters
- timeAxis
- Type: DHI.Generic.MikeZero.DFSIDfsEqTimeAxis
- startTime
- Type: SystemDateTime
Return Value
Type:
DateTimeUsage 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