Click or drag to resize
OnlineMarketingTransformationFunctionsVotedInPoll Method
Returns true if the contact voted in the poll.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static bool VotedInPoll(
	Object contact,
	string pollName,
	string answer,
	int lastXDays
)

Parameters

contact
Type: SystemObject
Contact which should be checked
pollName
Type: SystemString
Poll name
answer
Type: SystemString
Poll answer text
lastXDays
Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)

Return Value

Type: Boolean
See Also