How Larger Are ListViewItem and TreeNode?

  • Thread starter Thread starter Gary Brown
  • Start date Start date
I am not sure in what terms do you mean 'large' but if you are speaking from
a memory storage perspective then object types use 4 bytes in addition to the
data contained in the data type. The total memory of the object is limited by
the phsyical memory available on the system.

ai
 
I am not sure in what terms do you mean 'large' but if you are speaking
from
a memory storage perspective then object types use 4 bytes in addition to
the
data contained in the data type. The total memory of the object is limited
by
the phsyical memory available on the system.

I do mean the total number of bytes. These objects are rather complex, at
least
as shown by the debugger, so it isn't possible to add up the fields.
"sizeof"
won't work on these objects.

I am working on an application that is very large and am making tradeoffs
between using a separate data structure or using the TreeNode and
ListViewItem objects for storage.

Gary
 
Back
Top