UnmanagedFunctionPointerAttribute(CallingConvention) Konstruktor
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
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.