string xml="<toast launch=\"Patient_2\"><visual><binding template=\"ToastImageAndText01\"><image id=\"1\" src=\"ms-appx:///Assets/Bell.png\"></image><text id=\"1\">Patient_2</text></binding></visual><audio loop=\"true\" src=\"ms-winsoundevent:Notification.Looping.Alarm\" /></toast>"; XDocument doc = XDocument.Parse(notificationContent); foreach (XElement element in doc.Descendants("text")) { var id = element; }
XmlNode node = doc.DocumentElement.SelectsingleNode("toast/text");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)