what are you doing w/ the property here ? normally i just make the pointer property and for the reference i use pointer.property directly.
That's exactly what I doing, but in this case the property that I try refer is one of the type "enumerated string" , so it has two possible values and I want to refer one of them, not the default one. As it does if it is refered it in this way...
What it is going to be retrieved, taking in consideration my example, it would be its default value, or "LINUX_RSCD" which contains "/usr/lib/rsc".
But, in this case it could have other value refered by "WINDOWS_RSCD" whose value it would be "/C/Windows/rsc". And I don't know how can I refer it... even I don't know if this is possible. I though this could be refered by using a index inside the enumeration, or refering the value by its name. But I think it is not possible.
(This doesn't work as you can imagine...)
(This way raises a syntax error..)
I hope now you can understand me... I could do it in other way, but this for me it would be more natural way and i just want to know if it is possible to do it in this way.
you don't refer to the value. the pointer property to the class will have the value of an instance. the value of the enumerated property should be pulled from the instance.