Q:

User-Defined UML Data Types in Visio 2010

Is there a way to create custom types in Visio 2010?
We are creating a UML class diagram and need some of the properties to be defined as Dictionary, but that is not an option in Visio 2010 and it doesn't seem to allow creating custom types.
In Visio 2007, you could add a user-defined type: Reference Link

A:

Once you create a new UML project, on your left hand you see the Model Explorer window. 

Right-click on the top file in there and select packages.
Add a new package (I have done it for a different language)
Right-click on the new created package in the Model Explorer.
New -> Datatype..

