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
)
Public Function ChangeData(Of TNew) (
newData As TNew
) As TimeInterval(Of TNew)
public:
generic<typename TNew>
TimeInterval<TNew>^ ChangeData(
TNew newData
)
member ChangeData :
newData : 'TNew -> TimeInterval<'TNew>
Parameters
- newData
- Type: TNew
The new value for the Data property.
Type Parameters
- TNew
- The type of the new data.
Return Value
Type:
TimeIntervalTNewAn equivalent interval with new data.
See Also