J
John A. Bailo
I call a web service using a dynamic assembly.
Because of this, I have no way of knowing in advance, what the return
object type of the service is.
It may be an integer, it may be a string.
The way the method that invokes the service is written, it returns an
object, and then I have to cast that object as a datatype to use the value.
So, is there a way to read an object, and, based on what the value is,
cast it to one datatype or another?
Because of this, I have no way of knowing in advance, what the return
object type of the service is.
It may be an integer, it may be a string.
The way the method that invokes the service is written, it returns an
object, and then I have to cast that object as a datatype to use the value.
So, is there a way to read an object, and, based on what the value is,
cast it to one datatype or another?