TimeSpanArray.FindFirst(TimeSpan) Method

Top 

Description

Finds the first 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

TimeSpanArray.FindFirst(

TimeSpan value)

 

 

Arguments

value


Description:

The value whose index to find.

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

myVariable1 = myTimeSpanArray1.FindFirst(myTimeSpan1);

 

 

See also

TimeSpanArray Object

TimeSpans Guide

Parsing Dates and Times