What do things like this do before a method? I see this a lot in the Rhino backend. Thanks.
[WebMethod()]
public static string insert(TeamAvailibilityM m)
What do things like this do before a method? I see this a lot in the Rhino backend. Thanks.
[WebMethod()]
public static string insert(TeamAvailibilityM m)
Hi Carlos,
You’ll have to provide a more detailed question if you hope for a response. What are you trying to do and why?
– Dale
I have the impression Carlos wants to know about the statement syntax.
It is an attribute that allows the method of the class to be part of a web service.
See for more info https://msdn.microsoft.com/en-us/library/byxd99hx(v=vs.90).aspx
The class needs to be decorated with a [WebService]
attribute, and can then be used in e.g. ASP.NET web applications.