Represents the Outlook Mobile application object.
| C# | Visual Basic |
public sealed class OutlookSession : IDisposable
Public NotInheritable Class OutlookSession _ Implements IDisposable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| OutlookSession()()() |
Initializes a new instance of the OutlookSession class.
| |
| Appointments | Folder containing Appointment items.
| |
| Beam | Folder used for sending and retrieving items via Infrared or Bluetooth.
| |
| Categories |
Returns a collection of Categories used by Outlook Mobile.
| |
| Contacts | Folder containing Contact items.
| |
| Dispose()()() | ||
| EmailAccounts |
Gets the collection of e-mail Accounts.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FindMatchingContact(String, FindMatchingContactFlags) |
Returns the Contact item with a property value that most closely matches a search string.
Requires Windows Mobile 5.0 | |
| FindMatchingContact(String) |
Returns the Contact item with a property value that most closely matches a search string.
Requires Windows Mobile 5.0 | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetItemByItemId(ItemId) |
Returns an Outlook item for a specific ItemId.
| |
| GetTimeZoneFromIndex(Int32) |
Uses a time zone index to return the OutlookTimeZone object for the corresponding time zone.
| |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MessagingItemCopied |
Event that occurs when a messaging item is copied from one location to another.
| |
| MessagingItemCreated |
Event that occurs when a new messaging item is created.
| |
| MessagingItemDeleted |
Event that occurs when a messaging item is deleted.
| |
| MessagingItemModified |
Event that occurs when a messaging item is modified.
| |
| MessagingItemMoved |
Event that occurs when a messaging item is moved from one location to another.
| |
| MmsAccount |
Gets the MMS Account.
| |
| OutlookVersion |
Retrieve the version of Outlook Mobile on the device.
| |
| SmsAccount |
Gets the SMS Account.
| |
| Tasks | Folder containing Task items.
| |
| ToString()()() | (Inherited from Object.) |
Equivalent to Microsoft.WindowsMobile.PocketOutlook.OutlookSession.
You must create an OutlookSession before you can perform any actions with Outlook Mobile.This example shows how to create an OutlookSession object and retrieve the number of Contacts.
CopyC#
CopyC#
[VB]
Dim polApp As InTheHand.WindowsMobile.PocketOutlook.OutlookSession
polApp = New InTheHand.WindowsMobile.PocketOutlook.OutlookSession
MessageBox.Show(polApp.Contacts.Items.Count.ToString())
polApp.Dispose()[C#]
InTheHand.WindowsMobile.PocketOutlook.OutlookSession polApp;
polApp = new InTheHand.WindowsMobile.PocketOutlook.OutlookSession();
MessageBox.Show(polApp.Contacts.Items.Count.ToString());
polApp.Dispose();| Object | |
| OutlookSession | |
Folder containing
Folder used for sending and retrieving items via Infrared or Bluetooth.
Folder containing
Folder containing