MapiPropertyContainer.SetProperty
SetProperty(PropertyDescriptor, object)
Sets MAPI property.
public virtual void SetProperty(PropertyDescriptor pd, object value)
| Parameter | Type | Description |
|---|
| pd | PropertyDescriptor | The property descriptor. |
| value | Object | The property data. |
See Also
SetProperty(MapiProperty)
Sets the property.
public virtual void SetProperty(MapiProperty value)
| Parameter | Type | Description |
|---|
| value | MapiProperty | The property. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | If value is null. |
| ArgumentException | If property data is null. |
| InvalidOperationException | If data type is not supported. |
See Also