Documentation Center

PslHistoryItem.Comment

Returns the translation comment of this history item. The comment is only set, if it has been changed at this history item.

Syntax

Expression.Comment as String

Expression Object of type PslHistoryItem

Example

Sub HandleTransString(t As PslTransString)
  Dim item As PslHistoryItem
  For Each item In t.History
    If item.State(pslHistoryCommentChanged) Then
      PSL.Output "At " & CStr(item.Date) & " " & item.UserName _
        & " changed the comment to """ & item.Comment & """"
    End If
  Next item
End Sub