C
csharpula csharp
Hello ,
I want to get a property object using reflection by passing the string
name of this property.
I tried :
Type objType = asm.GetType(variableName);
object var= Activator.CreateInstance(objType);
But it's not working.Maybe because i am passing only variable name
(String) and not the whole path to it. How do I implement this and where
can I fetch this path if I need it?
Thank u!
I want to get a property object using reflection by passing the string
name of this property.
I tried :
Type objType = asm.GetType(variableName);
object var= Activator.CreateInstance(objType);
But it's not working.Maybe because i am passing only variable name
(String) and not the whole path to it. How do I implement this and where
can I fetch this path if I need it?
Thank u!