MapiPropertyCollection.Remove

Remove(long)

Removes the property with the specified tag.

public bool Remove(long key)
ParameterTypeDescription
keyInt64The tag of the property to remove.

Return Value

true if the property was removed; false if the collection does not contain it.

See Also


Remove(PropertyDescriptor)

Removes the property with the specified descriptor.

public bool Remove(PropertyDescriptor pd)
ParameterTypeDescription
pdPropertyDescriptorThe descriptor of the property to remove.

Return Value

true if the property was removed; false if the collection does not contain it.

See Also


Remove(KeyValuePair<long, MapiProperty>)

Removes the tag and property pair.

public bool Remove(KeyValuePair<long, MapiProperty> item)
ParameterTypeDescription
itemKeyValuePair`2The pair to remove.

Return Value

true if the pair was removed; otherwise, false.

See Also