DfsExtensions.SetStartDateTime Method |
Set the start time of a calendar axis.
Will throw an exception in case of a time axis
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)
Syntaxpublic static void SetStartDateTime(
this IDfsTemporalAxis timeAxis,
DateTime startTime
)
<ExtensionAttribute>
Public Shared Sub SetStartDateTime (
timeAxis As IDfsTemporalAxis,
startTime As DateTime
)
public:
[ExtensionAttribute]
static void SetStartDateTime(
IDfsTemporalAxis^ timeAxis,
DateTime startTime
)
[<ExtensionAttribute>]
static member SetStartDateTime :
timeAxis : IDfsTemporalAxis *
startTime : DateTime -> unit
Parameters
- timeAxis
- Type: DHI.Generic.MikeZero.DFS.IDfsTemporalAxis
- startTime
- Type: System.DateTime
Usage 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