Summary
Tries to find a field/property/method in the `declaringType` with the `name` and creates a delegate to get
its value.
If a member is found but can't be converted to an appropriate delegate, the `error` message describes the
problem.
Syntax
public static Func<T> GetMemberFunc<T>(Type declaringType, string name, Object obj, out string error, BindingFlags bindingFlags)
Type Parameters
Parameters
Name |
Type |
Description |
declaringType |
Type |
|
name |
string |
|
obj |
Object |
|
error |
string |
|
bindingFlags |
BindingFlags |
|
Return Value