VirtualTimeSpanArray.Max() Method

Top 

Description

Returns the maximum value contained in the array.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualTimeSpanArray.Max(

)

 

 

Return Value

Type:

timespan

Units:

day

 

 

The maximum value in the TimeSpanArray.

 

Syntax

myTimeSpan1 = {TimeSpan.FromDays(1), TimeSpan.FromDays(2)}.Max();

 

 

See also

VirtualTimeSpanArray Object