Class ActivityComment
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. A comment added to an Activity.
Inheritance
Inherited Members
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class ActivityComment
Constructors
ActivityComment(Int64)
Initializes a new instance of the ActivityComment class.
Declaration
public ActivityComment(long activityID)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | activityID | The identifier of the activity this comment is related to. |
ActivityComment(Int64, String, String)
Initializes a new instance of the ActivityComment class.
Declaration
public ActivityComment(long activityID, string message, string author)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | activityID | The identifier of the activity this comment is related to. |
System.String | message | The comment message. |
System.String | author | The author of the comment. |
Properties
ActivityID
Gets or sets the identifier of the Activity that this ActivityComment is related to.
Declaration
public virtual long ActivityID { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Author
Gets or sets the author of this ActivityComment.
Declaration
public virtual string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Created
Gets the date and time when this ActivityComment was created.
Declaration
public virtual DateTime Created { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ID
Gets the identifier for this ActivityComment.
Declaration
public virtual long ID { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
LastUpdated
Gets the date and time when this ActivityComment was last updated.
Declaration
public virtual DateTime LastUpdated { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Message
Gets or sets the message of this ActivityComment.
Declaration
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |