Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a String that represents the comments attached to this file.

Signature
C#
C#
 public System.String Comments{ get; set; }
Signature
vb.net
vb.net
Public Property Comments() As String

Remarks

MS Word equivalent: File menu > Properties > Summary tab > Comments:

Remarks

Example

Code Block
csharp
csharp
titleC#

          //--- Return Comments
          string comments = docProps.Comments;

          //--- Set Comments
          docProps.Comments = "This is for our next presentation.";
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return Comments
          Dim comments As String = docProps.Comments

          '--- Set Comments
          docProps.Comments = "This is for our next presentation."
        
Example