The CommentEventArgs class provides data for the CommentCreated, CommentDeleted, CommentedTextEntered, CommentedTextLeft, CommentChanged and CommentStateChanged events. When a comment is deleted, the CommentedText object provided with the event data has the following valid properties: HighlightColor, HighlightMode, Comment, CreationTime, ID and UserName. All other properties are undefined.

Syntax

public class CommentEventArgs: EventArgs
Public Class CommentEventArgs
  Inherits EventArgs

Introduced: 30.0.

Properties

Property Description
CommentedText Gets an object that represents the commented text.