D
dave
I am having trouble using an enum as a parametter in a webmethod. I have
followed the 'resolution' per
http://support.microsoft.com/Default.aspx?id=326792 however in my client app
i am not sure how to access and use the enum.
Any help would be greatly appreciated.
ie. this is my web service
Public Enum uType
All
Information
End Enum
Public Class EnumWrapper
Public UpdateType As uType
End Class
<WebMethod(), XmlInclude(GetType(EnumWrapper))> _
Public Function fUpdate(ByVal idAs Integer, ByVal Type As EnumWrapper)
As Boolean
.....
how would i call this method fUpdate in client app
Dim bol As Boolean = wsContact.fUpdate(id, ????)
followed the 'resolution' per
http://support.microsoft.com/Default.aspx?id=326792 however in my client app
i am not sure how to access and use the enum.
Any help would be greatly appreciated.
ie. this is my web service
Public Enum uType
All
Information
End Enum
Public Class EnumWrapper
Public UpdateType As uType
End Class
<WebMethod(), XmlInclude(GetType(EnumWrapper))> _
Public Function fUpdate(ByVal idAs Integer, ByVal Type As EnumWrapper)
As Boolean
.....
how would i call this method fUpdate in client app
Dim bol As Boolean = wsContact.fUpdate(id, ????)