I am struggling. Got properties that are of type ISet(of String) and I need to assign them with value.
.Add()
throws empty link error since it is not instantiated, been trying to create an instance, assign value and pass with set(), but
Activator.CreateInstance(Type.GetType(MyClass.MyProperty)
throws empty link. Neither this solution Visual Basic: dynamically create objects using a string as the name works, I ve output the list and ISet is simply not there.
I've been trying to solve this for a while now.
ISetis an interface, so you can use it to declare objects and cast to it, but you cannot create instances of them; they are simply a contract of what methods and properties a given type (class) will implement.