PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Sets the voted flag for the current user on the given poll. The user will no longer be able to vote in this poll.

Namespace: Smartsite.WebToolkit
Assembly:  Smartsite.WebToolkit (in Smartsite.WebToolkit.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.BlockUserVote")]
public static void setUserVoted(
	 context,
	 pollItem
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.BlockUserVote")> _
Public Shared Sub setUserVoted ( _
	context As , _
	pollItem As  _
)

Parameters

context
IRenderContext
The context.
pollItem
Locator
The poll item.

See Also

Advanced