FolderInfo.ChangeMessages

ChangeMessages(IEnumerable<string>, MapiPropertyCollection)

Changes the messages in folder.

public void ChangeMessages(IEnumerable<string> entryIdCollection, 
    MapiPropertyCollection updatedProperties)
ParameterTypeDescription
entryIdCollectionIEnumerable`1The entry identifier collection.
updatedPropertiesMapiPropertyCollectionThe updated properties.

Exceptions

exceptioncondition
NotImplementedExceptionThe ANSI file version editing is not implemented.
InvalidOperationExceptionThe PST is open for reading only. or The entryId is incorrect.
ArgumentNullExceptionentryIdCollection;The collection of entry ids cannot be null. or updatedProperties;The collection of properties cannot be null.

See Also


ChangeMessages(MapiPropertyCollection)

Changes all messages in folder.

public void ChangeMessages(MapiPropertyCollection updatedProperties)
ParameterTypeDescription
updatedPropertiesMapiPropertyCollectionThe updated properties.

Exceptions

exceptioncondition
NotImplementedExceptionThe ANSI file version editing is not implemented.
InvalidOperationExceptionThe PST is open for reading only. or The entryId is incorrect.
ArgumentNullExceptionentryIdCollection;The collection of entry ids cannot be null. or updatedProperties;The collection of properties cannot be null.

See Also