Click or drag to resize
PollInfoProviderGetPollInfo Method (String, Int32, Int32)
Returns the PollInfo structure specified by PollCodeName, SiteID and GroupID. If siteId is not 0 and no poll is found, tries to find the poll among global polls.

Namespace: CMS.Polls
Assembly: CMS.Polls (in CMS.Polls.dll) Version: 11.0.0
Syntax
C#
public static PollInfo GetPollInfo(
	string pollCodeName,
	int siteId,
	int groupId
)

Parameters

pollCodeName
Type: SystemString
Poll code name (leading period denotes global poll)
siteId
Type: SystemInt32
Site ID
groupId
Type: SystemInt32
Group ID

Return Value

Type: PollInfo
See Also