I assigned String ^ Box1 like this.
String^ Box1;
Box1 = comboBox1->SelectedItem->ToString();
What I am trying to do now and wonder is if it is possible is to put
"comboBox1->SelectedItem->ToString()" to a vector.
For the std:: it would look like this:
std::vector<string> StdVector;
StdVector[0] = "comboBox1->SelectedItem->ToString()";
My real question here is this now. First I am not sure how to declare a vector in the System::IO but as an example but I know it is not possible to combine String^ and std::vector.
Will this work or do you have to write
"comboBox1->SelectedItem->ToString()" out ?
Box1 = StdVector[0];