Breyta

Deila með


Type.GetRequiredCustomModifiers Method

Definition

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

Type[]

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.

Applies to