「VB.net」ContainsValue()で指定の値があるかを判定するサンプル
サンプルコード
Module ModuleTest
Sub Main()
Dim city As New Dictionary(Of String, String)
city.Add("tokyo", "東京")
city.Add("oosaka", "大阪")
If (city.ContainsValue("東京")) Then
Console.WriteLine("あり")
End If
End Sub
End Module