MapiNamedPropertyMappingStorage.AddNamedPropertyMapping
Contents
[
Hide
]AddNamedPropertyMapping(MapiProperty, long, Guid)
Adds the named property mapping for numeric named property.
public void AddNamedPropertyMapping(MapiProperty property, long nameId, Guid guid)
Parameter | Type | Description |
---|---|---|
property | MapiProperty | The property to add mapping for. |
nameId | Int64 | The name id. |
guid | Guid | The GUID identifying 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)
Adds the named property mapping for string named property.
public void AddNamedPropertyMapping(MapiProperty property, string nameId, Guid guid)
Parameter | Type | Description |
---|---|---|
property | MapiProperty | The property to add mapping for. |
nameId | String | The name id. |
guid | Guid | The GUID identifying 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