Click or drag to resize
DfsExtensionsCreateEmptyItemDatasT Method (IDfsFile)
Create an IDfsItemDataT of the provided type for each of the dynamic items in the file.

The result can be used by ReadItemTimeStep(IDfsItemData, Int32)

If not all items are of type {T}, an exception will be thrown.

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 static IDfsItemData<T>[] CreateEmptyItemDatas<T>(
	this IDfsFile dfsFile
)

Parameters

dfsFile
Type: DHI.Generic.MikeZero.DFSIDfsFile

Type Parameters

T

Return Value

Type: IDfsItemDataT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDfsFile. 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