Mega Code Archive

 
Categories / VB.Net / Reflection
 

Type GetMethod Method

Imports System.IO Imports System.Net Imports System.Text Imports System.Collections Imports System Imports System.Reflection Class Program     Public Sub MethodA()     End Sub     Public Shared Sub Main(ByVal args() As String)         Dim mInfo As MethodInfo = GetType(Program).GetMethod("MethodA")         Console.WriteLine("Found method: {0}", mInfo)     End Sub End Class