Hi gang,
I've created an object array from a managed class.
array<MyDataType_Class^> ^Object = gcnew array <MyDataType_Class^> (3);
Object[1] = gcnew MyDataType_Class;
Object[1]->id = 1;
Object[1]->surnmame = "Formen";
TextBox1->AppendText(ConvertToString(Object[1]->surname)); // Outputs "Formen" +
The object works well and outputs expected results. However what i need is :
Calling or using this data type in some other custom functions
Thanks.
PS. referred class
public ref class MyDataType_Class // managed class
{
public:
int id;
String ^surnmame;
MyDataType_Class() : id(0),surname(""){}
}