Dfs1UtilReadFloatDataForItem Method |
Read float data for the specified item and the specified time step indices.
If itemnumber or one of the time step indices is out of range, an exception is thrown.
Namespace: DHI.Generic.MikeZero.DFS.dfs123Assembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntaxpublic static float[,] ReadFloatDataForItem(
this Dfs1File dfs1File,
int itemNumber,
int[] timeStepIndices
)
<ExtensionAttribute>
Public Shared Function ReadFloatDataForItem (
dfs1File As Dfs1File,
itemNumber As Integer,
timeStepIndices As Integer()
) As Single(,)
public:
[ExtensionAttribute]
static array<float,2>^ ReadFloatDataForItem(
Dfs1File^ dfs1File,
int itemNumber,
array<int>^ timeStepIndices
)
[<ExtensionAttribute>]
static member ReadFloatDataForItem :
dfs1File : Dfs1File *
itemNumber : int *
timeStepIndices : int[] -> float32[,]
Parameters
- dfs1File
- Type: DHI.Generic.MikeZero.DFS.dfs123Dfs1File
- itemNumber
- Type: SystemInt32
- timeStepIndices
- Type: SystemInt32
Return Value
Type:
SingleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Dfs1File. 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