Hi,
I want to use the following:
Class Test ...
Public Enum TestEnum as integer
Enum1 = 128
Enum2 = 256
End Enum
<Webmethod... > _
Public Sub TestSub( parm as TestEnum)
....
End Sub
....
End Class
The enum we want to use is a enum from oracle .net client (db-datatypes)
which we can't change. TestEnum is only an example.
On client app we see the enum, but the corresponding values are wrong:
Enum1 = 0
Enum2 = 1
So if we call TestSub(TestEnu m.Enum1) then value isn't 128 but 0 ?
If it would be a custom enum, we could change the values to correspond, but
we can't change the oracle enum values ????
Would be .NET Remoting a better way to program such things ?
Martin