PropertyBuilder::GetIndexParameters Method ()

 

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

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

public:
virtual array<ParameterInfo^>^ GetIndexParameters() override

Return Value

Type: array<System.Reflection::ParameterInfo^>^

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

Exception Condition
NotSupportedException

This method is not supported.

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.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: