Redigera

Dela via


XmlMemberMapping Class

Definition

Maps a code entity in a .NET Web service method to an element in a Web Services Description Language (WSDL) message.

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

public ref class XmlMemberMapping
public class XmlMemberMapping
type XmlMemberMapping = class
Public Class XmlMemberMapping
Inheritance
XmlMemberMapping

Remarks

The XmlMemberMapping class is used with the XmlMembersMapping class, which references an array of XmlMemberMapping objects.

An XmlMemberMapping object can represent any one of the following:

  • A Web service method input parameter.

  • A Web service method output parameter.

  • A Web service return type, if not void.

  • A SOAP input header.

  • A SOAP output header.

The XmlMemberMapping objects are accessible through the indexed operator property.

See the XmlMembersMapping class for an explanation of the conditions under which an XmlMemberMapping object corresponds to a WSDL message definition's <part> element.

Properties

Any

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

Gets or sets a value that indicates whether the .NET type maps to an XML element or attribute of any type.

CheckSpecified

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

Gets a value that indicates whether the accompanying field in the .NET type has a value specified.

ElementName

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

Gets the unqualified name of the XML element declaration that applies to this mapping.

MemberName

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

Gets the name of the Web service method member that is represented by this mapping.

Namespace

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

Gets the XML namespace that applies to this mapping.

TypeFullName

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

Gets the fully qualified type name of the .NET type for this mapping.

TypeName

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

Gets the type name of the .NET type for this mapping.

TypeNamespace

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

Gets the namespace of the .NET type for this mapping.

XsdElementName

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

Gets the XML element name as it appears in the service description document.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GenerateTypeName(CodeDomProvider)

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

Returns the name of the type associated with the specified CodeDomProvider.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also