<p>Has anyone worked with the StarTeam COM API (Specifically, intergrating with C#).</p>

<p>I need to write a helper function that returns a directory structure out of Starteam, but all I've been able to retrieve using this API has been a list of views.</p>

<p>Has anyone else tried this?</p>

the Starteam object model is heirachical, projects contain views, views contain folders, folders contain items (child folders, files, cr's etc)
So once you have your view list you can get the folders that belong to the view, then you have a few properties that determine how they map to the local file system, both the view object and the folder objects have a readonly path property. There are 4 other properties of interest though, on the view object read up on the DefaultPath and AlternatePath properties and on the folder object the DefaultPathFragment and AlternatePathFragment.