How would one rewrite the Enum.GetNames(typeof(MyEnumType)) syntax to .net cobol. I am trying to populate my combobox with an enum and I cannot figure out the syntax for the GetNames(). public enum MyEnumType { Sunday = 0, Monday = 1 , Tuesday = 2 , Wednesday = 3 , Thursday = 4 , Friday = 5 , Saturday = 6 , } // In the form Load event, bind the combobox to the data source. private void Form1_Load ( object sender, EventArgs e ) { comboBox2. DataSource = Enum . GetValues ( typeof ( MyEnumType ) ) ; comboBox2. SelectedItem = MyEnumType. Friday ;
↧