D
David Whitney
All:
I've been working with some Reflection code to interrogate some
runtime object information, and was wondering the following...
Is there any call that can be made to determine whether a value type
(int, float, etc) of an object was initialized *only*, not set
programmatically?
I know there's no way to distinguish, for example, a default int value
of 0 from an assigned int value of 0, but I thought perhaps there
might be a buried state flag or field somewhere that might track when
a given field was "dirty" because it had been set (for whatever
reason).
Probably a grasp at straws, I realize, but I'm really trying to
overcome a run-tim value-type default problem...
Many thanks in advance,
David
Please reply to group; email is long since dead.
I've been working with some Reflection code to interrogate some
runtime object information, and was wondering the following...
Is there any call that can be made to determine whether a value type
(int, float, etc) of an object was initialized *only*, not set
programmatically?
I know there's no way to distinguish, for example, a default int value
of 0 from an assigned int value of 0, but I thought perhaps there
might be a buried state flag or field somewhere that might track when
a given field was "dirty" because it had been set (for whatever
reason).
Probably a grasp at straws, I realize, but I'm really trying to
overcome a run-tim value-type default problem...
Many thanks in advance,
David
Please reply to group; email is long since dead.