Type.GetRequiredCustomModifiers 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.
When overridden in a derived class, returns the required custom modifiers of the current Type.
public:
virtual cli::array <Type ^> ^ GetRequiredCustomModifiers();
public virtual Type[] GetRequiredCustomModifiers ();
abstract member GetRequiredCustomModifiers : unit -> Type[]
override this.GetRequiredCustomModifiers : unit -> Type[]
Public Overridable Function GetRequiredCustomModifiers () As Type()
Returns
An array of Type objects that identify the required custom modifiers of the current Type.
-or-
An empty array of type Type, if the current Type has no custom modifiers.
-or-
An empty array of type Type, if the current Type is not a modified Type. A modified Type is obtained from GetModifiedFieldType(), GetModifiedPropertyType(), or GetModifiedParameterType().
Remarks
The GetRequiredCustomModifiers and GetRequiredCustomModifiers methods are provided for designers of managed compilers. For more information on custom modifiers, see classes in the System.Runtime.CompilerServices namespace. Also see the metadata specification in Partition II of the Common Language Infrastructure (CLI) documentation.