Click or drag to resize

TimeIntervalTChangeDataTNew Method

Creates a new interval that is identical to this one 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: 21.1.408.0 (21.1.408.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