Mega Code Archive

 
Categories / Visual C++ .NET / Class
 

Out attribute parameter

// compile with: /clr:safe or /clr:pure #include "stdafx.h" using namespace System; using namespace System::Runtime::InteropServices; public ref class C1 {        public:        void Func([Out] String^% text)        {            text = "testing";        } }