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
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:vb.net}
Public Property Comments() As String
{signature}
{remarks}MS Word equivalent: File menu > Properties > Summary tab > Comments:

{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}