I have a C# web method that I need to translate to VB.NET. The method has following attribute:
[return: System.Xml.Serialization.XmlElement("MethodName", Namespace = "http://namespaceurl")]
public CustomClass Method()
....
The method returns custom class as result.
How can I translate this to VB.NET?