TimeIntervalAddDataT Method |
Creates a
TimeIntervalT that is equivalent to this time interval,
but with the specified
Data value.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public TimeInterval<T> AddData<T>(
T data
)
Public Function AddData(Of T) (
data As T
) As TimeInterval(Of T)
public:
generic<typename T>
TimeInterval<T>^ AddData(
T data
)
member AddData :
data : 'T -> TimeInterval<'T>
Parameters
- data
- Type: T
The data value.
Type Parameters
- T
- The type of the data.
Return Value
Type:
TimeIntervalTAn equivalent interval with the specified data.
See Also