Dfs2UtilCreateEmptyItemData 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 CreateEmptyItemData(
this IDfs2File dfs2File,
int itemNumber
)
<ExtensionAttribute>
Public Shared Function CreateEmptyItemData (
dfs2File As IDfs2File,
itemNumber As Integer
) As IDfsItemData2D
public:
[ExtensionAttribute]
static IDfsItemData2D^ CreateEmptyItemData(
IDfs2File^ dfs2File,
int itemNumber
)
[<ExtensionAttribute>]
static member CreateEmptyItemData :
dfs2File : IDfs2File *
itemNumber : int -> IDfsItemData2D
Parameters
- dfs2File
- Type: DHI.Generic.MikeZero.DFS.dfs123IDfs2File
- itemNumber
- Type: SystemInt32
Return Value
Type:
IDfsItemData2DUsage 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