Z
zacks
I asked this question before but got no responses. Let me rephrase the
question. I have a class that as a property defined as a list of
classes.
Public Class ClassA
Public Property Prop1 as List(of ClassB)
In a code segment, I can add an instance of ClassB to the Prop1
property of an instance of ClassA with the statement:
myClassA.Prop1.Add myClassB
Can I add an instance of ClassB to the Prop1 List using the
..InvokeMember method of the Type class?
question. I have a class that as a property defined as a list of
classes.
Public Class ClassA
Public Property Prop1 as List(of ClassB)
In a code segment, I can add an instance of ClassB to the Prop1
property of an instance of ClassA with the statement:
myClassA.Prop1.Add myClassB
Can I add an instance of ClassB to the Prop1 List using the
..InvokeMember method of the Type class?