Click or drag to resize

EngineExtensionsGetValueOrDefaultT Method

Get engine data for the specified node, or returns null if node has no data

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static T GetValueOrDefault<T>(
	this IEngineDataItem<T> engineDataItem,
	EngineNode node
)

Parameters

engineDataItem
Type: DHI.Mike1D.Engine.ModuleDataIEngineDataItemT

[Missing <param name="engineDataItem"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetValueOrDefault``1(DHI.Mike1D.Engine.ModuleData.IEngineDataItem{``0},DHI.Mike1D.Engine.EngineNode)"]

node
Type: DHI.Mike1D.EngineEngineNode

[Missing <param name="node"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetValueOrDefault``1(DHI.Mike1D.Engine.ModuleData.IEngineDataItem{``0},DHI.Mike1D.Engine.EngineNode)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetValueOrDefault``1(DHI.Mike1D.Engine.ModuleData.IEngineDataItem{``0},DHI.Mike1D.Engine.EngineNode)"]

Return Value

Type: T

[Missing <returns> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetValueOrDefault``1(DHI.Mike1D.Engine.ModuleData.IEngineDataItem{``0},DHI.Mike1D.Engine.EngineNode)"]

Usage Note

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