共用方式為


SignatureTypeEncoder.FunctionPointer 方法

定義

啟動函式指標簽章。

public System.Reflection.Metadata.Ecma335.MethodSignatureEncoder FunctionPointer (System.Reflection.Metadata.SignatureCallingConvention convention = System.Reflection.Metadata.SignatureCallingConvention.Default, System.Reflection.Metadata.Ecma335.FunctionPointerAttributes attributes = System.Reflection.Metadata.Ecma335.FunctionPointerAttributes.None, int genericParameterCount = 0);
member this.FunctionPointer : System.Reflection.Metadata.SignatureCallingConvention * System.Reflection.Metadata.Ecma335.FunctionPointerAttributes * int -> System.Reflection.Metadata.Ecma335.MethodSignatureEncoder
Public Function FunctionPointer (Optional convention As SignatureCallingConvention = System.Reflection.Metadata.SignatureCallingConvention.Default, Optional attributes As FunctionPointerAttributes = System.Reflection.Metadata.Ecma335.FunctionPointerAttributes.None, Optional genericParameterCount As Integer = 0) As MethodSignatureEncoder

參數

convention
SignatureCallingConvention

呼叫慣例。

attributes
FunctionPointerAttributes

函式指標屬性。

genericParameterCount
Int32

泛型參數計數。

傳回

例外狀況

attributes 無效。

genericParameterCount 不在範圍 [0, 0xffff] 內。

適用於