Click or drag to resize

TimeIntervalTChangeDataTNew Method

Creates a new interval that is identical to this time interval, except that it has a different value for the Data property.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public TimeInterval<TNew> ChangeData<TNew>(
	TNew newData
)

Parameters

newData
Type: TNew
The new value for the Data property.

Type Parameters

TNew
The type of the new data.

Return Value

Type: TimeIntervalTNew
An equivalent interval with new data.
See Also