Sets or returns the category of the spreadsheet. The category property can be used to search for an Excel file.

<p> public System.String Category{ get; set; }</p>
<p>Public Property Category() As String</p>

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

          //--- Set Category
          docProps.Category = "Sales Reports";
        
          '--- Get Category
          Dim category As String = docProps.Category

          '--- Set Category
          docProps.Category = "Sales Reports"