- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to add each Method Name of an Enum to a List(Of String) or ArrayList or Collection?
Lets use the UnitsTypeEnum here.
It has a long list of 'Methods'. For example, "kInchLengthUnits" is the Name of one of its Methods.
I know there is a Help page for this list here, but I would like to add the name of each one to a list, so it could be used in an InputListBox, or UserForm ComboBox, or similar selection interaction.
Since it's not really a Collection, I can't just use a regular "For Each" or "For i = 1 To UnitsTypeEnum.Count" type of loop technique.
Is there a way to do this without having to manually type out each 'k' type individually, on separate lines to add them to the list?
Wesley Crihfield
(Not an Autodesk Employee)
Solved! Go to Solution.