Types Class
Collapse the table of content
Expand the table of content

Types Class


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

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

public sealed class Types : DocumentableItem


Initializes a new instance of the Types class.


Gets or sets the text documentation for the instance of the DocumentableItem.(Inherited from DocumentableItem.)


Gets or sets the documentation element for the DocumentableItem.(Inherited from DocumentableItem.)


Gets or sets an array of type XmlAttribute that represents attribute extensions of WSDL to comply with Web Services Interoperability (WS-I) Basic Profile 1.1.(Inherited from DocumentableItem.)


Gets the collection of ServiceDescriptionFormatExtension elements included in the XML Web service. This property is read-only.(Overrides DocumentableItem.Extensions.)


Gets or sets the dictionary of namespace prefixes and namespaces used to preserve namespace prefixes and namespaces when a ServiceDescription object is constructed.(Inherited from DocumentableItem.)


Gets the collection of XML schemas included as data type definitions for the XML Web service. This property is read-only.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

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 http://www.w3.org/TR/wsdl/.

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

.NET Framework
Available since 1.1

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

Return to top
© 2015 Microsoft