UnmanagedFunctionPointerAttribute(CallingConvention) コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した呼び出し規則を使用して、 UnmanagedFunctionPointerAttribute クラスの新しいインスタンスを初期化します。
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)
パラメーター
- callingConvention
- CallingConvention
指定した呼び出し規約。
注釈
このメソッドは、アンマネージ コード内のデリゲートの呼び出し規則を指定し、 UnmanagedFunctionPointerAttribute 属性の最も一般的な使用方法です。
callingConvention パラメーターは、CallingConvention列挙の値のいずれかに設定できます。