Using the below cod to retrieve the argument names of the current
method which works fine..how would would i get the values?

        Dim method As MethodBase = MethodBase.GetCurrentMethod()
            Dim key As String = method.Name & "("
            For i As Integer = 0 To method.GetParameters().Length - 1
                key &= DirectCast(method.GetParameters().GetValue(i),
System.Reflection.ParameterInfo).Name
                If i < method.GetParameters().Length - 1 Then
                    key &= ","
                End If
            Next
            key &= ")"


thanks in advance

Reply via email to