Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ContentUrl | Read, Write | String | Content Url |
| CreatedDate | Read, Write | DateTime | Created Date |
| Description | Read, Write | String | Description |
| Errors | Read | IList of Error | Errors |
| ExpiredDate | Read, Write | Nullable of DateTime | Expired Date |
| Id | Read, Write | Guid | Id |
| Options | Read | List of PollOption | Options |
| Question | Read, Write | String | Question |
| RenderedDescription | Read | String | Rendered Description |
| ShowResultsBeforeExpiration | Read, Write | Boolean | Show Results Before Expiration |
| ShowResultsBeforeVote | Read, Write | Boolean | Show Results Before Vote |
| UserId | Read, Write | Int32 | User Id |
| Warnings | Read | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $poll.HasErrors())
JavaScript
var booleanResponse = poll.HasErrors();
Returns
BooleanHasWarnings
Velocity
#set($booleanResponse = $poll.HasWarnings())
JavaScript
var booleanResponse = poll.HasWarnings();
Returns
BooleanHasWarningsOrErrors
Velocity
#set($booleanResponse = $poll.HasWarningsOrErrors())
JavaScript
var booleanResponse = poll.HasWarningsOrErrors();
Returns
BooleanThrowErrors
Velocity
$poll.ThrowErrors()
JavaScript
poll.ThrowErrors();