| ||||
CreatePollPage methodCreates a Poll Page object. Syntax
ParametersNameThe title of the new poll page. If the erCreateOptMakeNameUnique flag in the CreateOptions argument has not been set, the name must be unique in the container. QuestionThe question you want users to vote on. QuestionFormatDetermines whether the Question parameter is in HTML or plain text format. For further information, see ERUTextFormat. ChoicesContains a SAFEARRAY of BSTRs listing the choices corresponding to 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:
The default display options for the poll are to show the votes cast and the vote totals to everyone. ppPollPageUpon return, an IERUItem interface pointer to the newly-created poll page. Return value
RemarksThe name of the poll page can be no longer than 126 characters. |
Home |