RealTimeBaseRecord Constructor(RealTimeBaseTable,IntPtr)
- Last UpdatedApr 08, 2026
- 1 minute read
Initializes a RealTimeBaseRecord instance with automatic binding to a table and a pointer to a record that is considered owned elsewhere.
This constructor should only be used in code that transitions between .NET and the underlying C++ libraries.
public RealTimeBaseRecord(
RealTimeBaseTable table,
IntPtr externallyOwnedRecordPtr
)
public:
RealTimeBaseRecord(
RealTimeBaseTable^ table,
IntPtr externallyOwnedRecordPtr
)
Parameters
- table
- The table to bind to.
- externallyOwnedRecordPtr
- A pointer to a block of memory sized appropriately for a record from the given table.
The pointer given will NOT be freed when this RealTimeBaseRecord object is destroyed.
The caller is responsible for ensuring that the pointer points to a correctly sized block of memory that has been initialized properly.
The caller also must take responsibility for keeping the memory well allocated while this object is alive.