Lire en anglais Modifier

Partager via


ParameterInfo.GetModifiedParameterType 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 the modified type of this parameter object.

C#
public virtual Type GetModifiedParameterType();

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

Produit Versions
.NET 8, 9, 10

See also