Aspose.Email.Examples.CSharp.Email.Outlook.CreatePollUsingMapiMessage.Run C# (CSharp) Метод

Run() публичный статический Метод

public static Run ( ) : void
Результат void
        public static void Run()
        {
            // The path to the File directory.
            string dataDir = RunExamples.GetDataDir_Outlook();

            MapiMessage msg = CreateTestMessage(false);

            FollowUpOptions options = new FollowUpOptions();
            options.VotingButtons = "Yes;No;Maybe;Exactly!";

            FollowUpManager.SetOptions(msg, options);

            msg.Save(dataDir+ "MapiMsgWithPoll.msg");            
        }
        private static MapiMessage CreateTestMessage(bool draft)
CreatePollUsingMapiMessage