Using VB.NET reflection to get a list of the current objects private fields

If you want to get a list of the current objects private fields you can do so like this:

me.GetType.GetFields(system.Reflection.BindingFlags.Instance or Reflection.BindingFlags.NonPublic)

Comments

Popular posts from this blog

.NET generics with private accessors not compatible with MSTest

Microsoft.ApplicationBlocks. ExceptionManagement The event source x does not exist error

Interface Oriented Code Organization(IOCO)