Write a struct array type
- Last UpdatedApr 08, 2026
- 1 minute read
This scenario guides you through the steps required to write a struct array type in the RealTime database (RTDB).
To identify the code associated with each step, see the code comments in the Example code section.
To write a struct array type
- Open the Program.cs file from the created project.
- Open the RTDB.
- Access the trendIndicatorImageSet table.
- Lock trendIndicatorImageSet table for reading.
- Locate the test record.
- Lock the test record reading.
- Access the IncreaseThresholds array field of the test record found.
- Unlock the test record.
- Unlock the trendIndicatorImageSet table.