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 the value of the Comments field in a workbook's Properties sheet. Comments can used to search for an Excel file.

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

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

          //--- Set Comments
          docProps.Comments = "Generated by ExcelWriter";
        
{code}
{code:vb.net
|title=vb.net
}

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

          '--- Set Comments
          docProps.Comments = "Generated by ExcelWriter"
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the value of the Comments field in a workbook's Properties sheet. Comments can used to search for an Excel file.  {excerpt}
{signature:C#}
 public System.String Comments{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Comments() As String
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle