ASP.NET Web Services 系列(1) - Return Various Data Types
ASP.NET Web Services gives you a wide range of flexibility in how you structure the messages passed to and from Web services. This sample shows examples of WebMethods that return the following data types:
http://quickstarts.asp.net/QuickStartv20/webservices/doc/DataTypes.aspx
- Primitive (String)
- Array of Primitives (Integers)
- Enumeration (Enum)
- Class/Struct
- Array of Classes/Structs
http://quickstarts.asp.net/QuickStartv20/webservices/doc/DataTypes.aspx