หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
access specifier 'old_specifier:' is no longer supported: please use 'new_specifier:' instead
Remarks
For more information on specifying type and member accessibility in metadata, see Type visibility and Member visibility in How to: Define and Consume Classes and Structs (C++/CLI).
Example
The following example generates C4376.
// C4376.cpp
// compile with: /clr /W1 /c
public ref class G {
public public: // C4376
void m2();
};
public ref class H {
public: // OK
void m2();
};