MapiPropertyContainer.SetProperty

SetProperty(MapiProperty)

Sets the property.

public virtual void SetProperty(MapiProperty value)
ParameterTypeDescription
valueMapiPropertyThe property.

Exceptions

exceptioncondition
ArgumentNullExceptionIf value is null.
ArgumentExceptionIf property data is null.
InvalidOperationExceptionIf data type is not supported.

See Also


SetProperty(PropertyDescriptor, object)

Sets MAPI property.

public virtual void SetProperty(PropertyDescriptor pd, object value)
ParameterTypeDescription
pdPropertyDescriptorThe property descriptor.
valueObjectThe property data.

See Also