| ||||
CreatePoll methodAdds a Poll to a Topic. Syntax
ParametersNameThe title of the new Poll. QuestionThe question you want users to vote on. QuestionFormatIndicates whether the Question parameter is in HTML or plain text format. For further information, see ERUTextFormat. ChoicesContains a SAFEARRAY of BSTRs listing the choices for the question. There must be at least two choices. CreateOptionsOne or more values from the ERUCreateOptions enumeration, logically OR'ed together [optional, default = erCreateOptNone] Legal values include:
ppPollUpon return, an IERUItem interface pointer to the newly-created poll. Return value
RemarksYou cannot create a poll on an eRoom's Home page or in the embedded topic of a Poll Page. |
Home |