U
Udi
Hi All,
I have an object that is reflected at runtime by Windows script host
engine,
so its public methods and properties can then be used from within a
script.
Based on a certain condition, I need to allocate a new member inside
that object
to be able to use it through the script engine as well. (This local
member is null and ignored by default)
I was thinking about adding a property that exposes this internal
member at runtime,
so the script engine will be able to see this property while
reflecting my object.
Do you know how can I extend my class and add a new propety to it at
runtime?
Can you show me an example?
Thanks!
Udi.
I have an object that is reflected at runtime by Windows script host
engine,
so its public methods and properties can then be used from within a
script.
Based on a certain condition, I need to allocate a new member inside
that object
to be able to use it through the script engine as well. (This local
member is null and ignored by default)
I was thinking about adding a property that exposes this internal
member at runtime,
so the script engine will be able to see this property while
reflecting my object.
Do you know how can I extend my class and add a new propety to it at
runtime?
Can you show me an example?
Thanks!
Udi.