ParameterInfo.GetOptionalCustomModifiers 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.
Gets the optional custom modifiers of the parameter.
public:
virtual cli::array <Type ^> ^ GetOptionalCustomModifiers();
public virtual Type[] GetOptionalCustomModifiers ();
abstract member GetOptionalCustomModifiers : unit -> Type[]
override this.GetOptionalCustomModifiers : unit -> Type[]
Public Overridable Function GetOptionalCustomModifiers () As Type()
Returns
An array of Type objects that identify the optional custom modifiers of the current parameter, such as IsConst or IsImplicitlyDereferenced.
Remarks
The GetOptionalCustomModifiers and GetRequiredCustomModifiers methods are provided for designers of managed compilers. For more information on custom modifiers, see IsBoxed and related classes in the System.Runtime.CompilerServices namespace, and the metadata specification in the ECMA Partition II documentation. For more information, see ECMA 335 Common Language Infrastructure (CLI).
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk