Novacode.DocX.SetContent C# (CSharp) Метод

SetContent() публичный Метод

public SetContent ( System.Xml.Linq.XElement el ) : void
el System.Xml.Linq.XElement
Результат void
        public void SetContent(XElement el)
        {
            foreach (XElement e in el.Elements())
            {
                (from d in Document.Contents
                 where d.Name == e.Name
                 select d).First().SetText(e.Value);
            }
        }

Same methods

DocX::SetContent ( string>.Dictionary dict ) : void
DocX::SetContent ( System.Xml.Linq.XDocument xmlDoc ) : void
DocX::SetContent ( string path ) : void