PropertyBuilder.GetIndexParameters Method

Returns an array of all the index parameters for the property. This method is not supported.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override ParameterInfo[] GetIndexParameters()

Return Value

Type: System.Reflection.ParameterInfo[]
An array that contains the parameters for the indexes.

ExceptionCondition
NotSupportedException

This method is not supported.

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

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: