UAOOI.ProcessObserver.RealTime.Processes Namespace
UAOOI.ProcessObserver.RealTime.Utils.Collections.Generic Namespace
UAOOI.ProcessObserver.RealTime

Timer..::..Max Method

Returns the larger of two TimeSpantime spans.

Namespace:  UAOOI.ProcessObserver.RealTime.Processes
Assembly:  RealTime (in RealTime.dll)

Syntax


public static TimeSpan Max(
	TimeSpan val1,
	TimeSpan val2
)
Public Shared Function Max ( _
	val1 As TimeSpan, _
	val2 As TimeSpan _
) As TimeSpan
public:
static TimeSpan^ Max(
	TimeSpan^ val1, 
	TimeSpan^ val2
)

Parameters

val1
Type: TimeSpan
The first of two TimeSpantime spans to compare.
val2
Type: TimeSpan
The second of two TimeSpantime spans to compare.

Return Value

The larger TimeSpan