Structure.Size

From Xojo Documentation

Method

Structure.Size() As Integer

Supported for all project types and targets.

The total size of the structure in bytes.