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

傳回

一種改良型。

備註

修改後的型別支援 GetOptionalCustomModifiersGetRequiredCustomModifiersGetFunctionPointerCallingConventions和 ,這些用於從函數指標取得自訂修飾符。

若要從修改型態獲得正常且未修改的型態,請使用 UnderlyingSystemType

此方法提供給受管理編譯器的設計者。 欲了解更多自訂修飾符的資訊,請參閱命名空間中的 System.Runtime.CompilerServices 類別。 另請參閱 通用語言基礎架構(CLI)文件第二區中的元資料規範。

適用於

另請參閱