 |
方法: クラスと構造体を定義および使用する (C++/CLI)
// type_visibility.cpp // compile with: /clr using namespace System; // public type, visible inside and outside assembly public ref struct Public_Class { void Test(){Console::WriteLine("in Public_Class");} }; // private type, visible inside but not outsid
msdn.microsoft.com |
 |