ParameterInfo.GetModifiedParameterType 方法

定义

获取此参数对象的修改类型。

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

返回

修改的类型。

注解

修改的类型支持 GetOptionalCustomModifiersGetRequiredCustomModifiers以及 GetFunctionPointerCallingConventions用于从函数指针获取自定义修饰符。

若要从修改的类型获取普通的未修改类型,请使用 UnderlyingSystemType

此方法为托管编译器的设计器提供。 有关自定义修饰符的详细信息,请参阅命名空间中的 System.Runtime.CompilerServices 类。 另请参阅 公共语言基础结构(CLI)文档的分区 II 中的元数据规范。

适用于

另请参阅