ApiCore.Questions.QuestionsFactory.Edit C# (CSharp) Method

Edit() public method

public Edit ( int q_id, string text, int type ) : bool
q_id int
text string
type int
return bool
        public bool Edit(int q_id, string text, int type)
        {
            this.Manager.Method("questions.edit");
            this.Manager.Params("qid", q_id);
            this.Manager.Params("text", text);
            this.Manager.Params("type", type);
            string resp = this.Manager.Execute().GetResponseString();
            if (this.Manager.MethodSuccessed)
            {
                XmlDocument x = this.Manager.GetXmlDocument(resp);
                return ((x.SelectSingleNode("/response").InnerText == "1") ? true : false);
            }
            return false;
        }