FollowUpManager.SetFlag

SetFlag(MapiMessageItemBase, string)

Sets the follow-up flag for a message.

public static void SetFlag(MapiMessageItemBase message, string flagRequest)
ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
flagRequestStringA string indicating the requested action for an e-mail message.

Exceptions

exceptioncondition
ArgumentExceptionIf flagRequest is null or empty.
ArgumentNullExceptionIf message is null.

See Also


SetFlag(MapiMessageItemBase, string, DateTime, DateTime)

Sets the follow-up flag for a message.

public static void SetFlag(MapiMessageItemBase message, string flagRequest, DateTime startDate, 
    DateTime dueDate)
ParameterTypeDescription
messageMapiMessageItemBaseThe MapiMessageItemBase in which a flag will be set.
flagRequestStringA string indicating the requested action for an e-mail message.
startDateDateTimeThe start date.
dueDateDateTimeThe due date.

Exceptions

exceptioncondition
ArgumentExceptionIf flagRequest is null or empty.
ArgumentNullExceptionIf message is null.

See Also