MapiMessage.AddCustomProperty
Contents
[
Hide
]AddCustomProperty(MapiProperty, string)
Adds the custom property.
public void AddCustomProperty(MapiProperty property, string stringNameId)
Parameter | Type | Description |
---|---|---|
property | MapiProperty | The propertyMapiProperty . |
stringNameId | String | The name of propertyString. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | If property is null. |
ArgumentException | If property data is null. |
NotSupportedException | If data type is not supported yet. |
See Also
- class MapiProperty
- class MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
AddCustomProperty(MapiPropertyType, byte[], string)
Adds the custom property.
public void AddCustomProperty(MapiPropertyType type, byte[] data, string stringNameId)
Parameter | Type | Description |
---|---|---|
type | MapiPropertyType | Type of MapiPropertyMapiPropertyType |
data | Byte[] | MapiProperty data.Byte |
stringNameId | String | The name of propertyString. |
Exceptions
exception | condition |
---|---|
ArgumentException | If property data is null. |
NotSupportedException | If data type is not supported yet. |
See Also
- enum MapiPropertyType
- class MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email