UnmanagedFunctionPointerAttribute(CallingConvention) 생성자

정의

지정된 호출 규칙을 사용하여 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 중 하나로 설정할 수 있습니다.

적용 대상

추가 정보