out parameters
-
I expect there is no specifically out parameters and in parameters in c++. But for out parameters we should use the reference variable or pointer variable. Like we need to use call by ref concept.:)
Nice talking to you. :-O
If you judge people, you have no time to love them. -- Mother Teresa -
To create an out-only parameter, you need to use the Out Attribute and a tracking reference:
using namespace System; using namespace System::Runtime::InteropServices; public ref class Foo { public: void Func([Out] String^% value) { value = "Hello"; } };
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
To create an out-only parameter, you need to use the Out Attribute and a tracking reference:
using namespace System; using namespace System::Runtime::InteropServices; public ref class Foo { public: void Func([Out] String^% value) { value = "Hello"; } };
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
To create an out-only parameter, you need to use the Out Attribute and a tracking reference:
using namespace System; using namespace System::Runtime::InteropServices; public ref class Foo { public: void Func([Out] String^% value) { value = "Hello"; } };
"We make a living by what we get, we make a life by what we give." --Winston Churchill
Oh. Really Thanks.
Nice talking to you. :-O
If you judge people, you have no time to love them. -- Mother Teresa