AddCustomProperty
MapiMessage.AddCustomProperty method (1 of 2)
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
MapiMessage.AddCustomProperty method (2 of 2)
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