Content created on the site must implement this interface for the social services to support it.
Properties
Name | Access | Type | Description |
---|---|---|---|
AnswerVerifiedByUserId | Read, Write | Nullable of Int32 | Answer Verified By User Id |
Application | Read | Application | The application in which the IContent is located. |
Approved | Read, Write | Nullable of Boolean | Approved |
Author | Read, Write | User | Author |
AvatarUrl | Read | String | Url to an image particular to the content or content type. If none, return null. |
ChildCount | Read | Int32 | Child Count |
Children | Read | ApiList of ThreadedForumReply | Children |
ContentId | Read, Write | Guid | A Guid uniquely identifying the content. |
ContentTypeId | Read, Write | Nullable of Int32 | A Guid identifying the type of content. All content of the same type (i.e. wiki page) will have the same value here. |
Date | Read, Write | Nullable of DateTime | Date |
EditNotes | Read, Write | String | Edit Notes |
EffectiveDepth | Read | Int32 | Effective Depth |
EmailFiles | Read | IList of EmailFile | Email Files |
EmoticonId | Read, Write | Int32 | Emoticon Id |
Errors | Read | IList of Error | Errors |
Excerpt | Read, Write | String | Excerpt |
ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
File | Read, Write | MediaFile | File |
ForumId | Read, Write | Nullable of Int32 | Forum Id |
GlobalContentTypeId | Read | Guid | Global Content Type Id |
Id | Read, Write | Nullable of Int32 | Id |
IsAnonymous | Read, Write | Nullable of Boolean | Is Anonymous |
IsAnswer | Read, Write | Nullable of Boolean | Is Answer |
IsDeleted | Read | Nullable of Boolean | Is Deleted |
IsLocked | Read, Write | Nullable of Boolean | Is Locked |
IsSuggestedAnswer | Read, Write | Nullable of Boolean | Is Suggested Answer |
NextSiblingCount | Read | Int32 | Next Sibling Count |
ParentId | Read, Write | Nullable of Int32 | Parent Id |
Points | Read, Write | Nullable of Int32 | Points |
PostLevel | Read, Write | Nullable of Int32 | Post Level |
PostMedia | Read, Write | String | Post Media |
PostStatus | Read, Write | String | Post Status |
PostType | Read, Write | String | Post Type |
PreviousSiblingCount | Read | Int32 | Previous Sibling Count |
QualityNoVotes | Read | Nullable of Int32 | Quality No Votes |
QualityScore | Read | Nullable of Int32 | Quality Score |
QualityYesVotes | Read | Nullable of Int32 | Quality Yes Votes |
ReplyCount | Read, Write | Nullable of Int32 | Reply Count |
SearchUniqueId | Read | String | Search Unique Id |
SortOrder | Read, Write | Nullable of Int32 | Sort Order |
SpamScore | Read, Write | Nullable of Int32 | Spam Score |
SpamStatus | Read, Write | String | Spam Status |
Subject | Read, Write | String | Subject |
SubscribeToThread | Read, Write | Nullable of Boolean | Subscribe To Thread |
Tags | Read, Write | IList of String | Tags |
ThreadId | Read, Write | Nullable of Int32 | Thread Id |
TotalQualityVotes | Read | Nullable of Int32 | Total Quality Votes |
Url | Read, Write | String | A Url to the content on the site. |
UserHostAddress | Read | String | User Host Address |
Warnings | Read | IList of Warning | Warnings |
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $threadedForumReply.Body())
JavaScript
var stringResponse = threadedForumReply.Body();
Body Overload 2
Velocity
#set($stringResponse = $threadedForumReply.Body($postTarget))
JavaScript
var stringResponse = threadedForumReply.Body(postTarget);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
postTarget | String | Post Target | Required |
Returns
String
HasErrors
Velocity
#set($booleanResponse = $threadedForumReply.HasErrors())
JavaScript
var booleanResponse = threadedForumReply.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $threadedForumReply.HasWarnings())
JavaScript
var booleanResponse = threadedForumReply.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $threadedForumReply.HasWarningsOrErrors())
JavaScript
var booleanResponse = threadedForumReply.HasWarningsOrErrors();
Returns
Boolean
ThrowErrors
Velocity
$threadedForumReply.ThrowErrors()
JavaScript
threadedForumReply.ThrowErrors();