Dev2.PathOperations.Dev2ActivityIOPath.ToXML C# (CSharp) Method

ToXML() public method

Convert the object to XML
public ToXML ( ) : string
return string
        public string ToXML()
        {
            StringBuilder result = new StringBuilder("<AcitivityIOPath>");

            result.Append("<TypeOf>" + PathType + "</TypeOf>");
            result.Append("<Path>" + Path + "</Path>");
            result.Append("<Username>" + Username + "</Username>");
            result.Append("<Password>" + Password + "</Password>");

            result.Append("</AcitivityIOPath>");

            return result.ToString();
        }
Dev2ActivityIOPath