Click or drag to resize
IDfsItemData2D Interface
Data for one item and timestep, wrapped with some 2D functionality.

The underlying data is still stored as a 1D array and returned by the Data

Depending on the DataType this can be cast to a similar IDfsItemData2DT 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: 16.0.0.0 (11.1.1.1111)
Syntax
public interface IDfsItemData2D : IDfsItemData

The IDfsItemData2D 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
(Inherited from IDfsItemData.)
Public propertyItem
Return data at the give x,y index
Public propertyItemNumber
Number of item that data belongs to (one-based)
(Inherited from IDfsItemData.)
Public propertyTime
Time relative to start of file. Unit is as specified in the temporal axis.
(Inherited from IDfsItemData.)
Public propertyTimeStepIndex
Index of time step that data belongs to (zero-based)
(Inherited from IDfsItemData.)
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