Hi,
I am trying to convert a type into a certain object, eg:
Public Function LoadObject(ByVal objType As Type) As Object
Dim oObj As Object = New Object
'convert oObt to objType---> how
DoSomething(oObj)
End Function
DoSomething Method needs the object to be a object as objType how to convert it?
thanks
I am trying to convert a type into a certain object, eg:
Public Function LoadObject(ByVal objType As Type) As Object
Dim oObj As Object = New Object
'convert oObt to objType---> how
DoSomething(oObj)
End Function
DoSomething Method needs the object to be a object as objType how to convert it?
thanks