Export XMI Sample for Visual Studio UML Diagrams
Steve Cook, a software architect on the Visual Studio team, has created a sample that shows how you can access the UML metadata in Visual Studio's modeling project system and export that data into XMI format for use with other tools.
For more info, see Cameron Skinner's blog post.