Exemple #1
0
 public static ChangeItem GetCamlChangeItem(this XElement xmlNode)
 {
     ChangeItem c = new ChangeItem();
     c.Command = xmlNode.Attribute("ChangeType").Value;
     if (c.Command != "InvalidToken")
         c.ListItemID = Int32.Parse(xmlNode.Value);
     return c;
 }
Exemple #2
0
        public static ChangeItem GetCamlChangeItem(this XElement xmlNode)
        {
            ChangeItem c = new ChangeItem();

            c.Command = xmlNode.Attribute("ChangeType").Value;
            if (c.Command != "InvalidToken")
            {
                c.ListItemID = Int32.Parse(xmlNode.Value);
            }
            return(c);
        }