Click or drag to resize

IDfsItemData Interface

Data for one item and timestep.

Depending on the DataType this can be cast to a similar IDfsItemDataT and the Data can be cast to its raw array data type.

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 interface IDfsItemData

The IDfsItemData type exposes the following members.

Properties
  NameDescription
Public propertyData
Data in the file. The data can be cast to one of the basic array types, as for example int[], depending on DataType
Public propertyItemNumber
Number of item that data belongs to (one-based)
Public propertyTime
Time relative to start of file. Unit is as specified in the temporal axis.
Public propertyTimeStepIndex
Index of time step that data belongs to (zero-based)
Top
Extension Methods
  NameDescription
Public Extension MethodTimeAsDateTime
Convert the Time to a DateTime.

If the time axis is not a calender type time axis, an exception is thrown.

(Defined by DfsExtensions.)
Public Extension MethodTimeInSeconds
Convert the Time to seconds.
(Defined by DfsExtensions.)
Top
Remarks
See Also