WriteData<T,TE>(TE,T,RTChangeNotification) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Writes a field into the locked record.
Supports the following primitive types: bool, byte, double, float, int, long, short, uint, ulong, and ushort.
void WriteData<T,TE>(
TE fieldToWrite,
T newValue,
OASySDNA.RealTime.HighPerformanceSetDB.RTChangeNotification notification
)
where T: new(), struct
where TE: IRealTimeField
void WriteDatageneric<typename T>
generic<typename TE>
(
TE^ fieldToWrite,
T^ newValue,
OASySDNA.RealTime.HighPerformanceSetDB.RTChangeNotification notification
)
where T: gcnew(), value class
where TE: IRealTimeField
Parameters
- fieldToWrite
- The field to write to. Must correspond correctly with the specified primitive type.
- newValue
- The new value to write into the given field.
- notification
- Change notification for data. When record is unlocked, request will be sent to publisher or replication server depending on this parameter value.
Type Parameters
- T
- TE