Note
To get the property explicitly by dynamically created delegates use the PropertyAccessor class.
public static Object? GetProperty(
Object? instance,
PropertyInfo property,
ReflectionWays way,
params Object?[]? indexParameters
)Public Shared Function GetProperty (
instance As Object,
property As PropertyInfo,
way As ReflectionWays,
ParamArray indexParameters As Object()
) As Objectpublic:
static Object^ GetProperty(
Object^ instance,
PropertyInfo^ property,
ReflectionWays way,
... array<Object^>^ indexParameters
)static member GetProperty :
instance : Object *
property : PropertyInfo *
way : ReflectionWays *
indexParameters : Object[] -> Object If way is Auto, then the DynamicDelegate way will be used.