Dynamically Calling Methods
page 5 of 7
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 29484/ 61

Parameter Information

       Take a look at the following code -

Response.Write("<table border=""1"">")
Dim
parameter As System.Reflection.ParameterInfo
For
Each parameter In minfo.GetParameters()
Response.Write("<tr><td>")
Response.Write(parameter.Name)
Response.Write("</td><td>")
Response.Write(parameter.ParameterType.ToString())
Response.Write("</td></tr>")
Next
Response.Write("</table>")

Live Demo

This does very much the same as the MemberInfo one before, but this time with parameters of a function. You will notice that it only returns one parameter (name) for Return1.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 10:22:02 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search