VirtualTimeSpanArray.FindLast(TimeSpan) Method

Top 

Description

Finds the last index at which the specified value is present. If the value is not present in the array, -1 will be returned.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualTimeSpanArray.FindLast(

TimeSpan value)

 

 

Arguments

value


Description:

The value whose index to find.

 

 

 

Return Value

Type:

number

 

 

The last index at which the specified value is present, or -1 if the value is not present.

 

Syntax

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

 

 

See also

VirtualTimeSpanArray Object