O
OpticTygre
Is it possible to detect if a property of a class is Readonly, WriteOnly, or
Read/Write?
Read/Write?
Is it possible to detect if a property of a class is Readonly, WriteOnly, or
Read/Write?
For Each mi As MemberInfo In t.GetMembers
If mi.DeclaringType Is Me.Tag.GetType Then
If mi.MemberType = MemberTypes.Property Then
s &= mi.Name & vbCrLf
End If
End If
Next
Next
But therein lies the problem. I don't just need the properties of that
object, but also of the object it inherits (all the way back to the base
object) as well. How can I change the code to do this?