public static Object? GetIndexedMember(
Object instance,
ReflectionWays way,
params Object?[] indexParameters
)
Public Shared Function GetIndexedMember (
instance As Object,
way As ReflectionWays,
ParamArray indexParameters As Object()
) As Object
public:
static Object^ GetIndexedMember(
Object^ instance,
ReflectionWays way,
... array<Object^>^ indexParameters
)
static member GetIndexedMember :
instance : Object *
way : ReflectionWays *
indexParameters : Object[] -> Object
This method ignores explicitly implemented interface properties.
If you already have a PropertyInfo instance of the indexed property, then use the GetProperty(Object, PropertyInfo, ReflectionWays, Object) method for better performance.
If way is Auto, then this method uses the DynamicDelegate reflection way.