You have to write code that does the search using reflection. Here's an
example:
Imports System.Reflecti on
Imports System.IO
Module Module1
Sub Main()
Dim searchDir As String =
"C:\WINDOWS\Mic rosoft.Net\Fram ework\v1.1.4322 "
Dim searchFor As String = "Open"
Dim assemblyName As String
For Each assemblyName In Directory.GetFi les(searchDir, "*.dll")
Try
Dim currentAssembly As [Assembly] =
[Assembly].LoadFile(assem blyName)
For Each currentType As Type In currentAssembly .GetTypes()
If currentType.Nam e = searchFor Then
Console.WriteLi ne(Path.GetFile Name(assemblyNa me) &
":" & _
currentType.Ful lName)
End If
For Each method As MemberInfo In currentType.Get Members
If method.Name = searchFor Then
Console.WriteLi ne(Path.GetFile Name(assemblyNa me)
& ":" & _
currentType.Ful lName & ":" & method.Name)
End If
Next
Next
Catch ex As Exception
End Try
Next
End Sub
End Module
"SevenThugsSoft ware" wrote:
Does anyone know if there is a tool which can search a directory of
..dll files, for a particular namespace or object or method?
-Nesim