FieldInfo.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 an array of types that identify the optional custom modifiers of the field.
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 field, such as IsConst.
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. Also see the metadata specification in Partition II of the Common Language Infrastructure (CLI) documentation.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za