public static void Run()
 {
     // ExStart:ReadFollowupFlagOptionsForMessage
     // The path to the File directory.
     string          dataDir = RunExamples.GetDataDir_Outlook();
     MapiMessage     mapi    = MapiMessage.FromFile(dataDir + "message.msg");
     FollowUpOptions options = FollowUpManager.GetOptions(mapi);
     // ExEnd:ReadFollowupFlagOptionsForMessage
 }
Exemplo n.º 2
0
        public static void Run()
        {
            string dataDir  = RunExamples.GetDataDir_Outlook();
            string fileName = dataDir + "MessageWithVotingButtons.msg";

            // ExStart:ReadingVotingOptions
            MapiMessage message = MapiMessage.FromFile(fileName);

            // This method can be useful when except voting buttons it is necessary to get other parameters (ex. a category)
            FollowUpOptions options = FollowUpManager.GetOptions(message);

            // Voting buttons will be introduced as a string with semi-column as a separator
            string votingButtons = options.VotingButtons;
            // ExEnd:ReadingVotingOptions
        }