VSTA Access to a combobox

VSTA Access to a combobox

Hi,
In VSTA I'd like to access a comboBox of a screen and add new items to this combobox.
something like that:
C# Code:

var screenElements = this.Project.DynPictures().Item("Picture_Login").Elements();
var combobox = screenElements.Item("Combobox_LanguageSelection");

comboBox.Items.Add("1. new Item");
comboBox.Items.Add("2. new Item");


Unfortunately is not clear to me how I can access items of the object.:confused:

This is a migrated post! Originally posted on 10.09.2012 by user stefan.maus. Please be aware that information can be outdated.