Click or drag to resize

BoundaryExtensionsFindTimeNextValue Method

Findes the time where the boundary source has a value that is non-zero. The time interval is within the provided limits.

Namespace:  DHI.Mike1D.BoundaryModule
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static DateTime FindTimeNextValue(
	this IBoundarySource source,
	DateTime startTime,
	DateTime endTime
)

Parameters

source
Type: DHI.Mike1D.BoundaryModuleIBoundarySource
Source to search for values in
startTime
Type: SystemDateTime
Time where to start searching
endTime
Type: SystemDateTime
End time, where search will end.

Return Value

Type: DateTime
Time where boundary source has the next nonzero value, or endTime if not found

Usage Note

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