public static void Run()
{
// ExStart:ReadVotingOptionsFromMapiMessage
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
// Create new Message
MapiMessage msg = CreateTestMessage(false);
// Set FollowUpOptions Properties
FollowUpOptions options = new FollowUpOptions();
options.VotingButtons = "Yes;No;Maybe;Exactly!";
FollowUpManager.SetOptions(msg, options);
msg.Save(dataDir+ "MapiMsgWithPoll.msg");
// ExEnd:ReadVotingOptionsFromMapiMessage
}
private static MapiMessage CreateTestMessage(bool draft)