Greetings, I have the following class
Public Class Controls
Public FriendlyName As String
Public Searchable As Boolean
And I have a function in a different class that takes a controls name as a parameter, but I’m having trouble gaining access to the variables in the controls class.
Public Function GetFields(ByVal name As String) As string
Dim HT As New Hashtable
Dim Ctrl As Controls
Dim Member as MemberInfo
Ctrl = New Controls
Member = ControlsCls.GetMember(name) 'This line is not working when name="searchable" for example!!!
Any idea how to access the content of the Controls Class (FriendlyName, Serachable, etc..) Thanks.