---
Product: Aspose.Email
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/email/python/mapinamedproperty
---

# MapiNamedProperty

## Overview

`MapiNamedProperty` is a class in Aspose.Email FOSS for Python.

Identifier for a named MAPI property.

This class provides 2 methods for working with MapiNamedProperty objects in Python programs.
Available methods include: `numeric`, `string`.
All public members are accessible to any Python application after installing the Aspose.Email FOSS for Python package.
Properties: `kind`, `lid`, `name`, `property_id`, `property_set`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `property_set` | `uuid.UUID` | Read | Gets the property set. |
| `kind` | `str` | Read | Gets the kind. |
| `name` | `str \| None` | Read | Gets the name. |
| `lid` | `int \| None` | Read | Gets the lid. |
| `property_id` | `int \| None` | Read | Gets the property id. |

## Methods

| Signature | Description |
|-----------|-------------|
| `string(name: str, property_set: uuid.UUID \| str)` → `"MapiNamedProperty"` | Creates a named property from a string name and a property set GUID |
| `numeric(lid: int, property_set: uuid.UUID \| str)` → `"MapiNamedProperty"` | Creates a named property from a numeric LID and a property set GUID |

## See Also

- [Aspose.Email for Python — Enterprise API Reference](https://reference.aspose.com/email/python-net/aspose.email.mapi/mapinamedproperty/)