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

Delete() public method

public Delete ( int q_id ) : bool
q_id int
return bool
        public bool Delete(int q_id)
        {
            this.Manager.Method("questions.delete");
            this.Manager.Params("qid", q_id);
            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;
        }