Extract land-value from a HPQ dfs2 file.
Value is extracted from the 3rd position of the "M21_Misc" custom block.
If the "M21_Misc" custom block is not found, 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 LandValue(
this IDfs2File dfs2File
)
<ExtensionAttribute>
Public Shared Function LandValue (
dfs2File As IDfs2File
) As Single
public:
[ExtensionAttribute]
static float LandValue(
IDfs2File^ dfs2File
)
[<ExtensionAttribute>]
static member LandValue :
dfs2File : IDfs2File -> float32
Parameters
- dfs2File
- Type: DHI.Generic.MikeZero.DFS.dfs123IDfs2File
Return Value
Type:
SingleUsage 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