propertyinfo

  1. N

    Question Parameter Count Mismatch when Iterating Properties

    I have a function that I am using to iterate and display the names & values of all the properties of an object. Here is my current code: Private Function RequestFormValues(rf As NameValueCollection) As String Dim type As Type = rf.GetType() Dim properties() As System.Reflection.PropertyInfo =...
  2. M

    Question Create Property Setter Delegate via DynamicMethod

    I'm building an abstract class that handles some common operations for all of my data access objects. The class will utilize generics, so I can't make direct calls to constructors, business object properties, etc. Reflection is way too slow for what I want to accomplish, so I am using a...
Top Bottom