I didn't know if I understood so well: you want the user to write something, if this something is a word in your Enum, the output will be the "number of the word in the Enum"? For example, if I write banana, the application will write 1.
If this is what you want you can easily do it like this:
If input = FoodItems.banana.ToString() Then Console.WriteLine(FoodItems.banana)
Console.ReadLine()
If you want to check for all the elements in the Enum you have to Select Case:
Sub Main()
Dim input As String = Console.ReadLine()
Select Case input
Case FoodItems.apple.ToString()
Console.WriteLine(FoodItems.apple)
Case FoodItems.banana.ToString()
Console.WriteLine(FoodItems.banana)
Case FoodItems.pineapple.ToString()
Console.WriteLine(FoodItems.pineapple)
End Select
Console.ReadLine()
End Sub
Probably there is a better way to do it, but I would do it like this.