Winium.StoreApps.CodedUITestProject.WiniumElement.AsXml C# (CSharp) Méthode

AsXml() public méthode

public AsXml ( ) : System.Xml.Linq.XStreamingElement
Résultat System.Xml.Linq.XStreamingElement
        public XStreamingElement AsXml()
        {
            return new XStreamingElement(
                "W" + this.RuntimeId, 
                new XAttribute("class", this.AutomationElement.Current.ClassName), 
                new XAttribute("id", this.AutomationElement.Current.AutomationId), 
                new XAttribute("name", this.AutomationElement.Current.Name), 
                new XAttribute("rect", this.AutomationElement.Current.BoundingRectangle), 
                from x in this.IterFind(TreeScope.Children, null) select x.AsXml());
        }