[c# .net MicroStation] programmatically reassign text field

im trying to figure out how to reassign text fields.

i have several text elements with several text fields that are "linked" to item type properties on another element. the text fields have lost their association. and it is a very tedious task to go into each text element and right click on each text field within each text element and select reassign field and then select the element containing the item type.

would like to do this from c#/.net but i think in the past i have had to go to the unmanaged side of the sdk to deal with text and text fields. 

any guidance on some api calls i can start looking at.