PropertyBuilder.GetIndexParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.