2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System / System.Configuration / SettingValueElement.cs
index f8cefc182c0eca4b80d3d55391c8a27f66dbbb8a..67c1135b3a4fc8eb3f986baedb176c9df6905438 100644 (file)
@@ -39,6 +39,8 @@ namespace System.Configuration
                : ConfigurationElement
 #endif
        {
+               XmlNode node;
+
                [MonoTODO]
                public SettingValueElement ()
                {
@@ -54,20 +56,16 @@ namespace System.Configuration
 #endif
 
 #if (XML_DEP)
-               [MonoTODO]
                public XmlNode ValueXml {
-                       get {
-                               throw new NotImplementedException ();
-                       }
-                       set {
-                               throw new NotImplementedException ();
-                       }
+                       get { return node; }
+                       set { node = value; }
                }
 
 #if (CONFIGURATION_DEP)
+               [MonoTODO]
                protected override void DeserializeElement (XmlReader reader, bool serializeCollectionKey)
                {
-                       throw new NotImplementedException ();
+                       node = new XmlDocument ().ReadNode (reader);
                }
 #endif
 #endif