Exemple #1
0
        public static void Run()
        {
            // ExStart:CheckPasswordProtection
            // The path to the File directory.
            string dataDir = RunExamples.GetDataDir_Outlook();

            MapiMessage mapiMessage = MapiMessage.FromFile(dataDir + "message1.msg");

            FollowUpManager.MarkAsCompleted(mapiMessage);
            mapiMessage.Save(dataDir + "MarkedCompleted_out.msg");
        }
Exemple #2
0
        public static void Run()
        {
            // ExStart:MarkFollowUpFlagAsCompleted
            // The path to the File directory.
            string dataDir = RunExamples.GetDataDir_Outlook();

            MapiMessage mapiMessage = MapiMessage.FromFile(dataDir + "Message.msg");

            FollowUpManager.MarkAsCompleted(mapiMessage);
            mapiMessage.Save(dataDir + "MarkedCompleted_out.msg");
            // ExEnd:MarkFollowUpFlagAsCompleted
        }