Редагувати

Поділитися через


ParameterInfo.GetModifiedParameterType Method

Definition

Gets the modified type of this parameter object.

public:
 virtual Type ^ GetModifiedParameterType();
public virtual Type GetModifiedParameterType ();
abstract member GetModifiedParameterType : unit -> Type
override this.GetModifiedParameterType : unit -> Type
Public Overridable Function GetModifiedParameterType () 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