XmlMemberMapping Class
Maps a code entity in a .NET Framework Web service method to an element in a Web Services Description Language (WSDL) message.
Assembly: System.Xml (in System.Xml.dll)
The XmlMemberMapping type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Any | Gets or sets a value that indicates whether the .NET Framework type maps to an XML element or attribute of any type. |
![]() | CheckSpecified | Gets a value that indicates whether the accompanying field in the .NET Framework type has a value specified. |
![]() | ElementName | Gets the unqualified name of the XML element declaration that applies to this mapping. |
![]() | MemberName | Gets the name of the Web service method member that is represented by this mapping. |
![]() | Namespace | Gets the XML namespace that applies to this mapping. |
![]() | TypeFullName | Gets the fully qualified type name of the .NET Framework type for this mapping. |
![]() | TypeName | Gets the type name of the .NET Framework type for this mapping. |
![]() | TypeNamespace | Gets the namespace of the .NET Framework type for this mapping. |
![]() | XsdElementName | Gets the XML element name as it appears in the service description document. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateTypeName | Returns the name of the type associated with the specified CodeDomProvider. |
![]() | GetHashCode | Serves as a hash function for a particular type. (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.) |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
