Hi.
I'm using VB .Net to access methods in a program which I purchased (Business Objects Designer.)
The API is quite extensive and most things work perfectly except for one method call which returns:
Method may only be called on a Type for which Type.IsGenericParameter is true
The way I understand this, and please correct me if I'm wrong, is that the parameters to the method must be generic parameters.
The method is as follows:
Where DesApp is the Designer application and the three parameters correspond, according to the API, with the parameter type: String, String, Boolean, respectively.
I've tried creating generic parameters but have so far been unsuccessful.
Does anyone out the know how I could create generic parameters to pass on to the method?
Thanks for your help!
Cheers,
Hinrik
I'm using VB .Net to access methods in a program which I purchased (Business Objects Designer.)
The API is quite extensive and most things work perfectly except for one method call which returns:
Method may only be called on a Type for which Type.IsGenericParameter is true
The way I understand this, and please correct me if I'm wrong, is that the parameters to the method must be generic parameters.
The method is as follows:
VB.NET:
DesApp.Universes.Export("Folder", Univ.FullName, False)
Where DesApp is the Designer application and the three parameters correspond, according to the API, with the parameter type: String, String, Boolean, respectively.
I've tried creating generic parameters but have so far been unsuccessful.
Does anyone out the know how I could create generic parameters to pass on to the method?
Thanks for your help!
Cheers,
Hinrik