File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,9 +267,9 @@ internal static class Consts
267267 public const string TaskStartDate = "8008" ;
268268
269269 /// <summary>
270- /// End date of the task
270+ /// Due date of the task
271271 /// </summary>
272- public const string TaskEndDate = "8009" ;
272+ public const string TaskDueDate = "8009" ;
273273
274274 /// <summary>
275275 /// True when the task is complete
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace DocumentServices.Modules.Readers.MsgReader.Outlook
1515{
1616 public class Storage : IDisposable
1717 {
18- #region Enum RecipientType
18+ #region Public enum RecipientType
1919 public enum RecipientType
2020 {
2121 /// <summary>
@@ -914,11 +914,38 @@ public Recipient(Storage message) : base(message._storage)
914914 /// </summary>
915915 public class Task : Storage
916916 {
917- #region Properties
918- public string FollowUp
917+ #region Properties
918+ /// <summary>
919+ /// Returns text when there is a task set, null is returned when there is nothing set
920+ /// </summary>
921+ public string FlagRequest
919922 {
920923 get { return GetMapiPropertyString ( Consts . FlagRequest ) ; }
921924 }
925+
926+ /// <summary>
927+ /// Returns the start datetime of the task, null when <see cref="FlagRequest"/> has not been set
928+ /// </summary>
929+ public DateTime ? StartDate
930+ {
931+ get { return GetMapiPropertyDateTime ( Consts . TaskStartDate ) ; }
932+ }
933+
934+ /// <summary>
935+ /// Returns the due datetime of the task, null when <see cref="FlagRequest"/> has not been set
936+ /// </summary>
937+ public DateTime ? DueDate
938+ {
939+ get { return GetMapiPropertyDateTime ( Consts . TaskDueDate ) ; }
940+ }
941+
942+ /// <summary>
943+ /// Return true when the task has been completed, null when <see cref="FlagRequest"/> has not been set
944+ /// </summary>
945+ public bool ? Complete
946+ {
947+ get { return GetMapiPropertyBool ( Consts . TaskComplete ) ; }
948+ }
922949 #endregion
923950
924951 #region Constructor
You can’t perform that action at this time.
0 commit comments