Click or drag to resize

DfsItemData Class

Item data class, base class (abstract) that are used as base by generic item data classes.
Inheritance Hierarchy

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 abstract class DfsItemData : IDfsItemData

The DfsItemData type exposes the following members.

Properties
  NameDescription
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
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
See Also