Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder.ToXml C# (CSharp) Method

ToXml() private method

private ToXml ( System.Xml.Linq.XNamespace ns ) : System.Xml.Linq.XElement
ns System.Xml.Linq.XNamespace
return System.Xml.Linq.XElement
        internal XElement ToXml(XNamespace ns)
        {
            return new XElement(ns + "WorkingFolder", 
                new XAttribute("local", TfsPath.FromPlatformPath(LocalItem)), 
                new XAttribute("item", ServerItem),
                new XAttribute("type", this.Type.ToString()));
        }