XmlSerializer Property

XmlDataProvider.XmlSerializer Property

Gets the inline XML content.

Namespace: System.Windows.Data
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public IXmlSerializable XmlSerializer { get; }
/** @property */
public IXmlSerializable get_XmlSerializer ()

public function get XmlSerializer () : IXmlSerializable

<XmlDataProvider>
  <XmlDataProvider.XmlSerializer>
    <x:XData>
       <elementDataRoot>
          <elementData/>
       <elementDataRoot>
    </x:XData>
  </XmlDataProvider.XmlSerializer>
</XmlDataProvider>
--or--
<XmlDataProvider>
    <x:XData>
       <elementDataRoot>
          <elementData/>
       <elementDataRoot>
    </x:XData>
</XmlDataProvider>
 elementDataRoot  Required. The single root element of the enclosed data island. Without a single root, the x:XData is invalid as a data source.  elementData  Optional. XML that represents your data. Any number of elements can be contained as element data, nested elements can be contained in other elements, and so on, subject to the general rules of XML.  

Property Value

The inline XML content.

This property is used by the parser to compile the literal content of the embedded XML data island.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2016 Microsoft