共用方式為


XmlMembersMapping.TypeName Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the name of the .NET Framework type being mapped to the data type of an XML Schema element that represents a SOAP message.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.Serialization (in System.Xml.Serialization.dll)

Syntax

'Declaration
Public ReadOnly Property TypeName As String
public string TypeName { get; }

Property Value

Type: System.String
The name of the .NET Framework type.

Remarks

A SOAP message is defined in a Web Services Description Language (WSDL) document using the <message> element.

See the XmlMembersMapping class for the conditions under which the TypeName property refers to a code entity defined in a Web service method (a parameter or return value) instead of to an extra parent or wrapper element.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.