Partager via


SignatureTypeEncoder.FunctionPointer Méthode

Définition

Démarre une signature de pointeur de fonction.

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

Paramètres

convention
SignatureCallingConvention

Convention d’appel.

attributes
FunctionPointerAttributes

Attributs du pointeur de fonction.

genericParameterCount
Int32

Nombre de paramètres génériques.

Retours

Exceptions

attributes n'est pas valide.

genericParameterCount est en dehors de la plage [0, 0xffff].

S’applique à