SignatureTypeEncoder.FunctionPointer 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.
Starts a function pointer signature.
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
Parameters
- convention
- SignatureCallingConvention
Calling convention.
- attributes
- FunctionPointerAttributes
Function pointer attributes.
- genericParameterCount
- Int32
Generic parameter count.
Returns
Exceptions
attributes
is invalid.
genericParameterCount
is not in range [0, 0xffff].
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.