It lists out all units in the default Revit Metric Unit System using Revit Units .NET API.

Click here to view the entire blog post.