コード例 #1
0
        public string ToXml()
        {
            string xmlValue = XmlGenericConvert <T> .ConvertToString(this.Value);

            return(string.Format("<{0}:{1} xmlns:{0}=\"{2}\">{3}</{0}:{1}>", this.Prefix, this.LocalElementName, this.Namespace, xmlValue));
        }
コード例 #2
0
 public void LoadXmlValue(string xml)
 {
     this.Value = XmlGenericConvert <T> .ConvertToGeneric(xml);
 }