I wonder if you can throw a bit of light into this problem which I believe has something to do with custom fields in a BO. I have the following error in business object "boPUN_New" when I open up the form in the IDE that contains the BO. I can close the form and generally mess around until the form opens and I can see it the designer. boPUN_New is the datasource in a grid and I can see all the fields except my custom fields. I've used custom fields before so I have a template to follow and, as best as I can see, I've created them in this BO in the same manner as I've created them in other BO's. I've been messing around with this all day now and I'm getting no where - hopefully you can offer an insight that will help me make some progress...
TIA - Peter
It is really a wash depending on the number of calls that you make. The GetType(MyBoType) doesn't require an instance...however, in this case you are adding the type to the ReflectionPropertyDescriptors anyway so it will be an instance.
The only caution about calling Me.GetType() or GetType(MyBo) too many times is that tax that you take. If you will be calling the GetType() very many times, you are better off passing this to a variable once then reusing that variable for the remaining calls:
'-- Use the MyType from this point on in this method to reduce the number of GetType calls.