Breyta

Deila með


UnmanagedFunctionPointerAttribute(CallingConvention) Constructor

Definition

Initializes a new instance of the UnmanagedFunctionPointerAttribute class with the specified calling convention.

public:
 UnmanagedFunctionPointerAttribute(System::Runtime::InteropServices::CallingConvention callingConvention);
public UnmanagedFunctionPointerAttribute (System.Runtime.InteropServices.CallingConvention callingConvention);
new System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute : System.Runtime.InteropServices.CallingConvention -> System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute
Public Sub New (callingConvention As CallingConvention)

Parameters

callingConvention
CallingConvention

The specified calling convention.

Remarks

This method specifies the calling convention for the delegate in unmanaged code and is the most common use of the UnmanagedFunctionPointerAttribute attribute. You can set the callingConvention parameter to one of the values in the CallingConvention enumeration.

Applies to

See also