Web Method return value

Results 1 to 2 of 2

Thread: Web Method return value

  1. #1
    Join Date
    Dec 1969

    Default Web Method return value

    Hi <BR>If anyone can help me it would be muchly appreciated.<BR>I am trying to return a collection from a web service app. I am using the system.visualbasic.collection object. The function declaration is as follows:<BR>&#060;WebMethod()&#062; Public Function ViewCampgrounds() As Collection<BR><BR>The error that I get is:<BR><BR>You must implement the Add(System.Object) method on Microsoft.VisualBasic.Collection because it inherits from ICollection.<BR><BR>Any help or suggestions would once again be apreciated.<BR>thanx

  2. #2
    Join Date
    Dec 1969

    Default CROSSPOST. Answered in ASP .Net Forum

    You may not want to answer this question again...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts