| ||||
CreateVote methodAdds a vote to a Poll Entry. Syntax
ParametersIndexAn index value of a member of the Votes collection, from 1 to the value of the collection's Count property. The value of Index is 0 for a write-in vote. WriteIn Write-in choice. This parameter is ignored unless the value of Index is 0. ppVoteUpon return, an IERUVote interface pointer to the newly-created vote. Return value
RemarksIf the AllowWriteIn property is set to FALSE, creating a write-in vote returns the error EROOM_E_INVALIDOPERATION. If the AllowMultipleVotes property is set to FALSE, creating more than one vote for the same User returns the error EROOM_E_INVALIDOPERATION. |
Home |