CreateSurveyQuestion

Presets.CreateSurveyQuestion method

إنشاء سؤال بعدد متغيّر من الإجابات. يُستخدم في !:CreateSurvey(string, GlobalPageSettings, ChoiceBoxConfig[])

public static ChoiceBoxConfig CreateSurveyQuestion(string question, params string[] answers)
معاملالنوعالوصف
questionسلسلةنص السؤال.
answersString[]إجابات السؤال.

قيمة الإرجاع

كائن يمثل سؤالًا وجميع الإجابات.

أمثلة

var question = Presets.CreateSurveyQuestion("Are satisfied with your experience?", "Yes", "No", "Not sure");

انظر أيضًا