![]() Pattern.PatternStartDate = DateTime. 1 Receive an email notification when you’re assigned a task, see a preview of the document, and reply directly from Outlook. Task.DueDate = DateTime.Parse(" 8:00 AM") Use mentions within comments in Word, Excel, and PowerPoint to create and assign tasks. Task.StartDate = DateTime.Parse(" 8:00 AM") Outlook.TaskItem task = Application.CreateItem( The following line of code shows how to do the import and assignment in C#. The using statement must not occur directly before the functions in the code example but must be added before the public Class declaration. If you use Visual Studio to test this code example, you must first add a reference to the Microsoft Outlook 15.0 Object Library component and specify the Outlook variable when you import the namespace. ![]() After a Recipient object is added to the TaskItem by using the Add(String) method, the Send() method sends the task to the recipient. The Assign() method specifies that the task is an assigned task. In the following code example, AssignTaskExample creates a TaskItem object and specifies values for the Subject, StartDate, and DueDate properties. The following code example is an excerpt from Programming Applications for Microsoft Office Outlook 2007.
0 Comments
Leave a Reply. |