|
-
Aug 15th, 2001, 05:58 PM
#1
Thread Starter
New Member
Web Method
Trying to create a web service with a method that returns 'System.Collections.SortedList'. It could accept it as a parameter, too. So, the function
[code]
<WebMethod()> Public Function ColTest() As SortedList
ColTest = New SortedList()
ColTest.Add("X", "Test X")
ColTest.Add("Y", "Test Y")
End Function
[\code]
returns the error "The type System.Collections.SortedList is not supported because it implements IDictionary."
after it's built and run.
Any Ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|