SetProperty

MapiPropertyContainer.SetProperty method (1 of 2)

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


MapiPropertyContainer.SetProperty method (2 of 2)

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