Class ActivityComment
A comment added to an Activity.
Inheritance
System.Object
ActivityComment
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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 |