共用方式為


XmlMembersMapping.Item 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 an item that contains internal type mapping information for a .NET Framework code entity that belongs to a Web service method being mapped to a SOAP message.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As XmlMemberMapping
public XmlMemberMapping this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32
    The index of the mapping to return.

Property Value

Type: System.Xml.Serialization.XmlMemberMapping
The requested XmlMemberMapping.

Remarks

The indexed array access operator for the XmlMembersMapping class gets a specified entry from an array of any of the following:

  • Web service method input parameters.

  • Web service method output parameters, plus the return type, if not void, at index 0.

  • SOAP input headers.

  • SOAP output headers.

See the XmlMembersMapping class for the conditions under which these entities translate to <part> elements in a Web Services Description Language (WSDL) document.

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.