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 the category of the spreadsheet. The category property can be used to search for an Excel file.  {excerpt}
{signature:C#}
 public System.String Category{ get; set; }
{signature}{signature:vb.net}
Public Property Category() As String
{signature}
{example}{code:csharp|title=C#}

          //--- Get Category
          string category = docProps.Category;

          //--- Set Category
          docProps.Category = "Sales Reports";
        {code}
{code:vb.net|title=vb.net}

          '--- Get Category
          Dim category As String = docProps.Category

          '--- Set Category
          docProps.Category = "Sales Reports"
        {code}

{example}