getproperty

BindingFlags.IgnoreCase not working for Type.GetProperty()?

Imagine the following A type T has a field Company. When executing the following method it works perfectly: Type t = typeof(T); t.GetProperty("Company") Whith the following call I get null though Type t = typeof(T); t.GetProperty("company", BindingFlags.IgnoreCase) Anybody got an idea? ...

Hows the syntax to getProperty dynamically?

Is this possible and if, how? item.foo = "moo" def x = "foo" item.[x] = "moo" ...

Is there a getproperty or equivalent function in VBA?

I'd like to know if something like this pseudo code: myVar = "functionName" call someObject.(myVar evaluation) which would then be equivalent to: call someObject.functionName is possible in VB. I know this is done in some other languages using a GetProperty method. Thanks in advance. ...