VirtualTimeSpanArray.GetUniqueElements() Method

Top 

Description

Returns a TimespanArray containing the unique elements of the calling TimeSpanArray in the order in which they appeared in the calling TimeSpanArray.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualTimeSpanArray.GetUniqueElements(

)

 

 

Return Value

Type:

Array of timespan

 

 

Returns a TimeSpanArray object that contains the unique values of the TimeSpanArray.

 

Syntax

myTimeSpanArray1 = {TimeSpan.FromDays(1), TimeSpan.FromDays(2)}.GetUniqueElements();

 

 

See also

VirtualTimeSpanArray Object