Enum.GetName Method retrieves the name of the constant in the specified enumeration that has the specified value.
Imports System
Public Class GetNameTest
Enum Colors
Red
Green
Blue
Yellow
End Enum 'Colors
Enum Styles
Plaid
Striped
Tartan
Corduroy
End Enum 'Styles
Public Shared Sub Main()
Console.WriteLine([Enum].GetName(GetType(Colors), 3))
Console.WriteLine([Enum].GetName(GetType(Styles), 3))
End Sub 'Main
End Class 'GetNameTest