Content created on the site must implement this interface for the social services to support it.
Properties
Name | Access | Type | Description |
---|---|---|---|
ChildCount | Read | Int32 | Child Count |
Children | Read | ApiList of ThreadedComment | Children |
CommentContentTypeId | Read | Guid | Comment Content Type Id |
CommentId | Read, Write | Guid | Comment Id |
CommentTypeId | Read, Write | Nullable of Guid | Comment Type Id |
Content | Read | Content | Content |
ContentId | Read, Write | Guid | A Guid uniquely identifying the content. |
ContentTypeId | Read, Write | Guid | A Guid identifying the type of content. All content of the same type (i.e. wiki page) will have the same value here. |
CreatedDate | Read, Write | DateTime | The date the content was created. |
EffectiveDepth | Read | Int32 | Effective Depth |
Errors | Read | IList of Error | Errors |
ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
IPAddress | Read, Write | String | I P Address |
IsApproved | Read, Write | Boolean | Is Approved |
IsDeleted | Read | Boolean | Is Deleted |
IsFeatured | Read, Write | Boolean | Is Featured |
NextSiblingCount | Read | Int32 | Next Sibling Count |
NoVotes | Read | Int32 | No Votes |
ParentCommentId | Read, Write | Nullable of Guid | Parent Comment Id |
PreviousSiblingCount | Read | Int32 | Previous Sibling Count |
ReplyCount | Read, Write | Int32 | Reply Count |
Score | Read | Int32 | Score |
SortOrder | Read, Write | Int32 | Sort Order |
TotalVotes | Read | Int32 | Total Votes |
UpdatedDate | Read, Write | DateTime | Updated Date |
UpdatedUserId | Read, Write | Int32 | Updated User Id |
Url | Read, Write | String | A Url to the content on the site. |
User | Read | User | User |
UserId | Read, Write | Int32 | User Id |
Warnings | Read | IList of Warning | Warnings |
YesVotes | Read | Int32 | Yes Votes |
Methods
Body
Body Overload 1
Velocity
#set($stringResponse = $threadedComment.Body())
JavaScript
var stringResponse = threadedComment.Body();
Body Overload 2
Velocity
#set($stringResponse = $threadedComment.Body($target))
JavaScript
var stringResponse = threadedComment.Body(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | String | Target | Required |
Returns
String
HasErrors
Velocity
#set($booleanResponse = $threadedComment.HasErrors())
JavaScript
var booleanResponse = threadedComment.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $threadedComment.HasWarnings())
JavaScript
var booleanResponse = threadedComment.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $threadedComment.HasWarningsOrErrors())
JavaScript
var booleanResponse = threadedComment.HasWarningsOrErrors();
Returns
Boolean
ThrowErrors
Velocity
$threadedComment.ThrowErrors()
JavaScript
threadedComment.ThrowErrors();