共用方式為


XmlReflectionMember.MemberType 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 or sets the type of the Web service method member code entity that is represented by this mapping.

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

Syntax

'Declaration
Public Property MemberType As Type
public Type MemberType { get; set; }

Property Value

Type: System.Type
The Type of the Web service method member code entity that is represented by this mapping.

Remarks

The Web service method member's code entity can be an input parameter, an output parameter, a return type, or a SOAP header attribute.

You do not need to use the XmlReflectionMember class and its properties directly.

See the XmlMembersMapping class for the cases when a member corresponds to a part element defined in a Web Services Description Language (WSDL) document. Note, however, that with a wrapped binding between a WSDL operation and a .NET Framework method (indicated by the Wrapped enumeration member), the method parameters and return value do not appear in the 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.