MapiMessage.AddCustomProperty
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
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