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()()()() | Releases all resources used by the OutlookSession | |
| EmailAccounts |
Gets the collection of e-mail Accounts.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | (Overrides Object.Finalize()()()().) | |
| FindMatchingContact(String, FindMatchingContactFlags) |
Returns the Contact item with a property value that most closely matches a search string.
| |
| FindMatchingContact(String) |
Returns the Contact item with a property value that most closely matches a search string.
Requires Windows Mobile 5.0 or later | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(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.
| |
| NewMail |
Event which occurs when a new incoming message is received.
| |
| 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.| Platforms Supported | |
|---|---|
| Windows Mobile | Pocket PC 2003 and later, Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows Embedded Compact 4.1 and later |
This example shows how to create an OutlookSession object and retrieve the number of Contacts.
CopyVB.NET
CopyC#
Dim polApp As InTheHand.WindowsMobile.PocketOutlook.OutlookSession polApp = New InTheHand.WindowsMobile.PocketOutlook.OutlookSession MessageBox.Show(polApp.Contacts.Items.Count.ToString()) polApp.Dispose()
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