次のC#のコードをVBに変換したいと考えています。 var queryMatchingFiles = from file in fileList where file.Extension == ".htm" let fileText = System.IO.File.ReadAllText(file.FullName) let matches = searchTerm.Matches(fileText) where matches.Count > 0 select new { name = file.FullName, matchedValues = from System.Text.RegularExpressions.Match match in matches select match.Value };
****以後 自分で変換できた範囲 ******** Dim queryMatchingFiles = From file In fileList Where file.Extension = ".htm" Let fileText = System.IO.File.ReadAllText(file.FullName) Let matches = searchTerm.Matches(fileText) Where matches.Count > 0 Select New