public List<QuestionType> GetTypes()
{
this.Manager.Method("questions.getTypes");
string resp = this.Manager.Execute().GetResponseString();
if (this.Manager.MethodSuccessed)
{
XmlDocument x = this.Manager.GetXmlDocument(resp);
if (x.SelectSingleNode("/response").InnerText.Equals("0"))
{
return null;
}
return this.buildQuestionTypeList(x);
}
return null;
}