Selerix Developer Tools
Questions Field (Questionnaire)






Selerix.BusinessObjects Assembly > Selerix.BusinessObjects Namespace > Questionnaire Class : Questions Field
Collection of questions.

The list of questions on the application.

Syntax
'Declaration
 
<XmlArrayAttribute("Questions")>
<XmlArrayItemAttribute(Type=Selerix.BusinessObjects.Question, ElementName="Question")>
<XmlArrayItemAttribute(ElementName="QuestionMemo", Type=Selerix.BusinessObjects.QuestionMemo)>
<XmlArrayItemAttribute(ElementName="QuestionState", Type=Selerix.BusinessObjects.QuestionState)>
<XmlArrayItemAttribute(ElementName="QuestionHeight", Type=Selerix.BusinessObjects.QuestionHeight)>
<XmlArrayItemAttribute(ElementName="QuestionWeight", Type=Selerix.BusinessObjects.QuestionWeight)>
<XmlArrayItemAttribute(ElementName="QuestionTable", Type=Selerix.BusinessObjects.QuestionTableDetail)>
<XmlArrayItemAttribute(ElementName="QuestionMedicalDetail", Type=Selerix.BusinessObjects.QuestionMedicalDetail)>
<XmlArrayItemAttribute(ElementName="CheckboxListQuestion", Type=Selerix.BusinessObjects.CheckboxListQuestion)>
Public Questions As QuestionCollection
'Usage
 
Dim instance As Questionnaire
Dim value As QuestionCollection
 
value = instance.Questions
 
instance.Questions = value
[XmlArray("Questions")]
[XmlArrayItem(Type=Selerix.BusinessObjects.Question, ElementName="Question")]
[XmlArrayItem(ElementName="QuestionMemo", Type=Selerix.BusinessObjects.QuestionMemo)]
[XmlArrayItem(ElementName="QuestionState", Type=Selerix.BusinessObjects.QuestionState)]
[XmlArrayItem(ElementName="QuestionHeight", Type=Selerix.BusinessObjects.QuestionHeight)]
[XmlArrayItem(ElementName="QuestionWeight", Type=Selerix.BusinessObjects.QuestionWeight)]
[XmlArrayItem(ElementName="QuestionTable", Type=Selerix.BusinessObjects.QuestionTableDetail)]
[XmlArrayItem(ElementName="QuestionMedicalDetail", Type=Selerix.BusinessObjects.QuestionMedicalDetail)]
[XmlArrayItem(ElementName="CheckboxListQuestion", Type=Selerix.BusinessObjects.CheckboxListQuestion)]
public QuestionCollection Questions
public field Questions: QuestionCollection; 
XmlArrayAttribute("Questions")
XmlArrayItemAttribute(Type=Selerix.BusinessObjects.Question, ElementName="Question")
XmlArrayItemAttribute(ElementName="QuestionMemo", Type=Selerix.BusinessObjects.QuestionMemo)
XmlArrayItemAttribute(ElementName="QuestionState", Type=Selerix.BusinessObjects.QuestionState)
XmlArrayItemAttribute(ElementName="QuestionHeight", Type=Selerix.BusinessObjects.QuestionHeight)
XmlArrayItemAttribute(ElementName="QuestionWeight", Type=Selerix.BusinessObjects.QuestionWeight)
XmlArrayItemAttribute(ElementName="QuestionTable", Type=Selerix.BusinessObjects.QuestionTableDetail)
XmlArrayItemAttribute(ElementName="QuestionMedicalDetail", Type=Selerix.BusinessObjects.QuestionMedicalDetail)
XmlArrayItemAttribute(ElementName="CheckboxListQuestion", Type=Selerix.BusinessObjects.CheckboxListQuestion)
public var Questions : QuestionCollection;
[XmlArray("Questions")]
[XmlArrayItem(Type=Selerix.BusinessObjects.Question, ElementName="Question")]
[XmlArrayItem(ElementName="QuestionMemo", Type=Selerix.BusinessObjects.QuestionMemo)]
[XmlArrayItem(ElementName="QuestionState", Type=Selerix.BusinessObjects.QuestionState)]
[XmlArrayItem(ElementName="QuestionHeight", Type=Selerix.BusinessObjects.QuestionHeight)]
[XmlArrayItem(ElementName="QuestionWeight", Type=Selerix.BusinessObjects.QuestionWeight)]
[XmlArrayItem(ElementName="QuestionTable", Type=Selerix.BusinessObjects.QuestionTableDetail)]
[XmlArrayItem(ElementName="QuestionMedicalDetail", Type=Selerix.BusinessObjects.QuestionMedicalDetail)]
[XmlArrayItem(ElementName="CheckboxListQuestion", Type=Selerix.BusinessObjects.CheckboxListQuestion)]
public: QuestionCollection* Questions
[XmlArray("Questions")]
[XmlArrayItem(Type=Selerix.BusinessObjects.Question, ElementName="Question")]
[XmlArrayItem(ElementName="QuestionMemo", Type=Selerix.BusinessObjects.QuestionMemo)]
[XmlArrayItem(ElementName="QuestionState", Type=Selerix.BusinessObjects.QuestionState)]
[XmlArrayItem(ElementName="QuestionHeight", Type=Selerix.BusinessObjects.QuestionHeight)]
[XmlArrayItem(ElementName="QuestionWeight", Type=Selerix.BusinessObjects.QuestionWeight)]
[XmlArrayItem(ElementName="QuestionTable", Type=Selerix.BusinessObjects.QuestionTableDetail)]
[XmlArrayItem(ElementName="QuestionMedicalDetail", Type=Selerix.BusinessObjects.QuestionMedicalDetail)]
[XmlArrayItem(ElementName="CheckboxListQuestion", Type=Selerix.BusinessObjects.CheckboxListQuestion)]
public:
QuestionCollection^ Questions
See Also

Reference

Questionnaire Class
Questionnaire Members