Gets or sets the format of the method response.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The following example shows how to apply the ScriptMethodAttribute attribute to a Web method with the property set to Xml. The return value of the method will be serialized as XML and sent to the succeeded callback function as an object of type XmlDocument. This code example is part of a larger example provided for the ScriptMethodAttribute class.
Available since 3.5