This documentation is archived and is not being maintained.

Types Class

Describes data type definitions relevant to exchanged messages. This class cannot be inherited.

For a list of all members of this type, see Types Members.


[Visual Basic]
NotInheritable Public Class Types
   Inherits DocumentableItem
public sealed class Types : DocumentableItem
public __gc __sealed class Types : public DocumentableItem
public class Types extends DocumentableItem

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


This class is a container for data type definitions for the XML Web service. Note especially that this class does not represent a collection of instances of the Type class, as its name might imply. Instead, it corresponds to the Web Services Description Language (WSDL) <types> element enclosed by the <definitions> root element. For more information about WSDL, see the specification at

The Types class has two read-only properties, Schemas and Extensions, representing the collections of data type definitions available to an XML Web service.


Namespace: System.Web.Services.Description

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web.Services (in System.Web.Services.dll)

See Also

Types Members | System.Web.Services.Description Namespace