Click or drag to resize

DfsBuilderAddStaticItem Method (IDfsStaticItem)

Add static item to the file.

The static item can come from another file, then the item definition and data is copied over.

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 IDfsStaticItem AddStaticItem(
	IDfsStaticItem staticItem
)

Parameters

staticItem
Type: DHI.Generic.MikeZero.DFSIDfsStaticItem

Return Value

Type: IDfsStaticItem
A reference to the static item written to the file. This can be used at a later point if the static data needs to be updated, using the WriteStaticItemData(IDfsStaticItem, Array)

Implements

IDfsFileBuilderAddStaticItem(IDfsStaticItem)
See Also