Export (0) Print
Expand All

XmlMemberMapping Class

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

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

System::Object
  System.Xml.Serialization::XmlMemberMapping

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

public ref class XmlMemberMapping

The XmlMemberMapping type exposes the following members.

  NameDescription
Public propertyAnyGets or sets a value that indicates whether the .NET Framework type maps to an XML element or attribute of any type.
Public propertyCheckSpecifiedGets a value that indicates whether the accompanying field in the .NET Framework type has a value specified.
Public propertyElementNameGets the unqualified name of the XML element declaration that applies to this mapping.
Public propertyMemberNameGets the name of the Web service method member that is represented by this mapping.
Public propertyNamespaceGets the XML namespace that applies to this mapping.
Public propertyTypeFullNameGets the fully qualified type name of the .NET Framework type for this mapping.
Public propertyTypeNameGets the type name of the .NET Framework type for this mapping.
Public propertyTypeNamespaceGets the namespace of the .NET Framework type for this mapping.
Public propertyXsdElementNameGets the XML element name as it appears in the service description document.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGenerateTypeNameReturns the name of the type associated with the specified CodeDomProvider.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft