vb.net的webservice描述怎么写
超级格古达 2015-08-13 02:21:48 C#的是这样写的
[WebMethod (Description ="这是hello world!")]
public string HelloWorld()
{
return "Hello World";
}
而VB.NET是这样的
<WebMethod()> _
Public Function GetVehicleInfo() As String
Return "Hello World"
End Function
为什么我<WebMethod(Description="")>这样写 不可以呢
应该怎么写呢