internal AppointmentException(Application application, Appointment appointment, IntPtr pIAppointmentException) { m_application = application; m_appointment = appointment; m_pIAppointmentException = pIAppointmentException; }
internal RecurrencePattern(Application application, Appointment appointment, IntPtr pIRecurrencePattern) { m_application = application; m_appointment = appointment; m_pIRecurrencePattern = pIRecurrencePattern; }
internal Recipients(Application application, IntPtr pIRecipients) { m_application = application; m_pIRecipients = pIRecipients; }
private void Export(PropertyInfo[] fields, FileStream fs) { try { // The Application object is the only object which can be viewed // by external libraries. Other PocketOutlook objects are created // by calling various methods on the Application object. PocketOutlook.Application app = new PocketOutlook.Application(); // Log the user onto a Pocket Outlook session app.Logon(); // get contacts info ItemCollection poicContactsCollection = app.GetDefaultFolder(folderContactsConst).Items; PocketOutlook.Contact pa; // Add all the Contacts to a ListView. for (int i = 0; i < poicContactsCollection.Count; i++) { pa = (PocketOutlook.Contact) poicContactsCollection.Item(i + 1); // Starting with first item, item 'zero' does not exist // Add contact information to the list view //string[] displayInfo = new string[3]; //this.setupListViewItem(pa, out displayInfo[0], out displayInfo[1], out displayInfo[2]); //this.lvContacts.Items.Add(new ListViewItem(displayInfo)); // Put the data values into a record string string record = ""; foreach (PropertyInfo f in fields) record += ProtectValue(f.GetValue(pa, null).ToString()) + separator; // Replace the last comma with a CR then save into file byte[] data = EncodeRecord(record.Substring(0, record.Length - separator.Length) + lineSeparator); fs.Write(data, 0, data.Length); } // log the user out app.Logoff(); } catch (Exception exception) { System.Windows.Forms.MessageBox.Show(exception.ToString()); } }
public TimeZone(Application application, ref IntPtr rpITimeZone) { m_application = application; m_pITimeZone = rpITimeZone; }
internal Exceptions(Application application, Appointment appointment, IntPtr pIExceptions) { m_application = application; m_appointment = appointment; m_pIExceptions = pIExceptions; }
internal Contact(Application application, ref IntPtr pIContact) : base(application, ref pIContact) { }
internal Recipient(Application application, IntPtr pIRecipient) { m_application = application; m_pIRecipient = pIRecipient; }
internal Task(Application application, ref IntPtr pITask) : base(application, ref pITask) { }
// The constructor is internal to prevent objects other than the // Application class from using "new" to create an object of this // type. internal City(Application application, ref IntPtr pICity) : base(application, ref pICity) { }
internal ItemCollection(Application application, int tItemType, ref IntPtr pIPOutlookItemCollection) { m_pIPOutlookItemCollection = pIPOutlookItemCollection; m_tItemType = tItemType; m_application = application; }
internal Folder(Application application, IntPtr pIFolder) { m_application = application; m_pIFolder = pIFolder; }
// The constructor is internal to prevent objects outside of the // PocketOutlook library from using "new" to create an object of // this type. internal Appointment(Application application, ref IntPtr pIAppointment) : base(application, ref pIAppointment) { m_application = application; }
protected OutlookItem(Application application, ref IntPtr pIItem) { m_application = application; m_pIItem = pIItem; }