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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.