Thanks Mona,
I had tried your suggestion of
<WebMethod()> _
<return: XmlElement("WeblogEntry")> _
Public Function AddEntry(ByVal newEntry As NewWeblogEntry) As
ConfirmedWeblogEntry
End Function
but the '<' sign before "return" then gives the following intellisense error
"Attribute specifier is not a complete statement. Use a line continuation to
apply the attribute to the following statement."
I have also tried..
<WebMethod(),return: XmlElement("WeblogEntry")> _
Public Function AddEntry(ByVal newEntry As NewWeblogEntry) As
ConfirmedWeblogEntry
End Function
but then 'return' has an intelisense error of "Keyword is not valid as an
identifier"
I have googled like a madman, but cannot find any documentation on using
"return" as a method attribute...
though it obviously works... because the c# project is excellent
thanks heaps for your help.
Any other suggestions ? Anyone ?
> Hi Adam,
>
[quoted text clipped - 25 lines]
> >
> > Any ideas anyone ?
netnews.microsoft.com - 01 Mar 2005 05:20 GMT
This might work:
<WebMethod, return: XmlElement("WeblogEntry")> _
> Thanks Mona,
>
[quoted text clipped - 58 lines]
> > >
> > > Any ideas anyone ?