FieldInfo.GetModifiedFieldType Method

Definition

Gets the modified type of this field object.

public:
 virtual Type ^ GetModifiedFieldType();
public virtual Type GetModifiedFieldType ();
abstract member GetModifiedFieldType : unit -> Type
override this.GetModifiedFieldType : unit -> Type
Public Overridable Function GetModifiedFieldType () As Type

Returns

A modified type.

Remarks

A modified type supports GetOptionalCustomModifiers, GetRequiredCustomModifiers and GetFunctionPointerCallingConventions which are used to obtain custom modifiers from a function pointer.

To obtain the normal, unmodified type from a modified type, use UnderlyingSystemType.

This method is 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

See also