Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Question37443397 XmlSerialize nested node in XDocument by dbc_MinLength
Caught expected exception
<StoredObjects>
  <Object Name="first">
    <MYOBJECT_TYPE xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Value>1hello</Value>
      <Values>
        <int>1</int>
        <int>11</int>
        <int>111</int>
        <int>1111</int>
        <int>11111</int>
      </Values>
    </MYOBJECT_TYPE>
  </Object>
  <Object Name="second">
    <MYOBJECT_TYPE xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Value>2hello</Value>
      <Values>
        <int>2</int>
        <int>22</int>
        <int>222</int>
        <int>2222</int>
        <int>22222</int>
      </Values>
    </MYOBJECT_TYPE>
  </Object>
  <Object Name="third">
    <MYOBJECT_TYPE xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Value>3hello</Value>
      <Values>
        <int>3</int>
        <int>33</int>
        <int>333</int>
        <int>3333</int>
        <int>33333</int>
      </Values>
    </MYOBJECT_TYPE>
  </Object>
</StoredObjects>
Cached Result
Last Run: 12:17:07 pm
Compile: 0.252s
Execute: 0.505s
Memory: 2Mb
CPU: 0.453s