Dfs2UtilCreateEmptyItemDataT Method (IDfs2File, Int32) |
Create an
IDfsItemData2DT of the correct type for the
item with the given
itemNumber.
Namespace:
DHI.Generic.MikeZero.DFS.dfs123
Assembly:
DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static IDfsItemData2D<T> CreateEmptyItemData<T>(
this IDfs2File dfs2File,
int itemNumber
)
<ExtensionAttribute>
Public Shared Function CreateEmptyItemData(Of T) (
dfs2File As IDfs2File,
itemNumber As Integer
) As IDfsItemData2D(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IDfsItemData2D<T>^ CreateEmptyItemData(
IDfs2File^ dfs2File,
int itemNumber
)
[<ExtensionAttribute>]
static member CreateEmptyItemData :
dfs2File : IDfs2File *
itemNumber : int -> IDfsItemData2D<'T>
Parameters
- dfs2File
- Type: DHI.Generic.MikeZero.DFS.dfs123IDfs2File
- itemNumber
- Type: SystemInt32
Type Parameters
- T
Return Value
Type:
IDfsItemData2DTUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDfs2File. 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