System::SharedPtr options = System::MakeObject(); System::SharedPtr col = System::MakeObject(u"WBS", 100, &UsingSpreadsheet2003SaveOptions::_anonymous_method_0); options->get_View()->get_Columns()->Add(col); System::SharedPtr rscCol = System::MakeObject(u"Cost center", 100, &UsingSpreadsheet2003SaveOptions::_anonymous_method_1); options->get_ResourceView()->get_Columns()->Add(rscCol); System::SharedPtr assnCol = System::MakeObject(u"Notes", 200, &UsingSpreadsheet2003SaveOptions::_anonymous_method_2); options->get_AssignmentView()->get_Columns()->Add(assnCol); project->Save(dataDir + u"UsingSpreadsheet2003SaveOptions_out.xml", options);