Votes property

Returns an IERUCollection of IERUVote interface pointers to the Votes comprising a Ballot.

Syntax


C++

HRESULT get_Votes(IERUCollection** pVotes)

Scripting languages

Set VoteCollection = Poll.Votes

Remarks


The returned IERUCollection consists of IERUVote interface pointers to individual Votes. Each choice selected by a User is represented by a single Vote object. Therefore, if a User selected two choices in a PollEntry that allowed voters to vote for more than one choice, the collection returned by the Votes property contains two Vote objects.

Home

Applies to

IERUBallot