Try this

1
2
let foo() : [<System.Xml.Serialization.XmlElementAttribute("result")>] int = 42

(I can't recall if this worked in the CTP or not, but that would be the syntax - decorating the return type.)

By on 1/29/2009 10:54 AM ()

Thanks. It works in CTP.

B.R.
Pavel

By on 1/30/2009 4:29 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper