System.Reflection.Emit.PropertyBuilder.GetIndexParameters Method

Returns an array of all the index parameters for the property.

Syntax

public override System.Reflection.ParameterInfo[] GetIndexParameters ()

Returns

An array of type ParameterInfo containing the parameters for the indexes.

Remarks

To get the index parameters of a property, reflect on the property's parent type using Type.GetType or Assembly.GetType, retrieve the Reflection property object from the type, and call PropertyInfo.GetIndexParameters.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0