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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk