UnmanagedFunctionPointerAttribute(CallingConvention) Konstruktor

Definíció

Inicializálja az osztály új példányát UnmanagedFunctionPointerAttribute a megadott hívási konvencióval.

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)

Paraméterek

callingConvention
CallingConvention

A megadott hívási konvenció.

Megjegyzések

Ez a metódus nem felügyelt kódban adja meg a meghatalmazott hívási UnmanagedFunctionPointerAttribute konvencióját, és az attribútum leggyakoribb használata. A paramétert az callingConvention enumerálás egyik értékére CallingConvention állíthatja be.

A következőre érvényes:

Lásd még