---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/packagepartdescriptor
---

# PackagePartDescriptor

## Overview

`PackagePartDescriptor` is a class in Aspose.Cells FOSS for C++.

Represents package part descriptor.

This class declares 9 methods for PackagePartDescriptor objects in C++ programs.
Available methods include: `GetCategory`, `GetContentType`, `GetPartUri`, `SetCategory`, `SetContentType`, `SetPartUri`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetPartUri()` → `std::string` | Gets or sets the part uri. |
| `SetPartUri(value: std::string)` | Sets the part uri value. |
| `SetPartUri(value: std::string)` | Sets the part uri value. |
| `GetContentType()` → `std::string` | Gets or sets the content type. |
| `SetContentType(value: std::string)` | Sets the content type value. |
| `SetContentType(value: std::string)` | Sets the content type value. |
| `GetCategory()` → `std::string` | Gets or sets the category. |
| `SetCategory(value: std::string)` | Sets the category value. |
| `SetCategory(value: std::string)` | Sets the category value. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)