MapiNamedPropertyMappingStorage.AddNamedPropertyMapping
Contents
[
Hide
]AddNamedPropertyMapping(MapiProperty, long, Guid)
Registers a property as a named property with a numeric ID.
public void AddNamedPropertyMapping(MapiProperty property, long nameId, Guid guid)
| Parameter | Type | Description |
|---|---|---|
| property | MapiProperty | The property; its tag must be in the named property range. |
| nameId | Int64 | The numeric ID (LID) of the named property. |
| guid | Guid | The GUID of the property set. |
Remarks
property should have a valid id for named property, GetNextAvailablePropertyId can be used to generate one. Otherwise an exception will be thrown.
See Also
- class MapiProperty
- class MapiNamedPropertyMappingStorage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
AddNamedPropertyMapping(MapiProperty, string, Guid)
Registers a property as a named property with a string name.
public void AddNamedPropertyMapping(MapiProperty property, string nameId, Guid guid)
| Parameter | Type | Description |
|---|---|---|
| property | MapiProperty | The property; its tag must be in the named property range. |
| nameId | String | The name of the named property. |
| guid | Guid | The GUID of the property set. |
Remarks
property should have a valid id for named property, GetNextAvailablePropertyId can be used to generate one. Otherwise an exception will be thrown.
See Also
- class MapiProperty
- class MapiNamedPropertyMappingStorage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email