Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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



{remarks}
{example}{code:csharp|title=C#}

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

          //--- Set Comments
          docProps.Comments = "This is for our next presentation.";
        
{code}
{code:vb.net
|title=vb.net
}

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

          '--- Set Comments
          docProps.Comments = "This is for our next presentation."
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{String}} that represents the comments attached to this file.{excerpt}
{signature:C#}
 public System.String Comments{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Comments() As String
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File menu > Properties > Summary tab > Comments:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle