Redigera

Dela via


PropertyBuilder.GetIndexParameters Method

Definition

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

public:
 override cli::array <System::Reflection::ParameterInfo ^> ^ GetIndexParameters();
public override System.Reflection.ParameterInfo[] GetIndexParameters ();
override this.GetIndexParameters : unit -> System.Reflection.ParameterInfo[]
Public Overrides Function GetIndexParameters () As ParameterInfo()

Returns

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

Exceptions

This method is not supported.

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.

Applies to