Occurs when the state of a comment alters from active to inactive or vice versa. A piece of text with an inactive comment is not highlighted and is not retrieved through the CommentCollection.GetItem method. The event handler receives an argument of type CommentEventArgs containing data related to this event.

Introduced: 30.0.

Syntax

public event CommentEventHandler CommentStateChanged;
Public Event CommentStateChanged As CommentEventHandler