Skip to end of metadata
Go to start of metadata

Description

Sets or returns a String that represents the comments attached to this file.
C#
 public System.String Comments{ get; set; }
vb.net
Public Property Comments() As String

Remarks

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

Examples

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

          //--- Set Comments
          docProps.Comments = "This is for our next presentation.";
        
vb.net
          '--- Return Comments
          Dim comments As String = docProps.Comments

          '--- Set Comments
          docProps.Comments = "This is for our next presentation."
        
  • No labels