Export (0) Print
Expand All

_MobileItem.EntryID Property

Returns a String (string in C#) that represents the unique entry ID of the object. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

'Declaration
<DispIdAttribute()> _
ReadOnly Property EntryID As String
	Get
'Usage
Dim instance As _MobileItem
Dim value As String

value = instance.EntryID

Property Value

Type: System.String

This property corresponds to the MAPI PidTagEntryId Canonical Property property.A MAPI store provider assigns a unique ID string when an item is created in its store. Therefore, the EntryID property is not set for an Outlook item until it is saved or sent. The entry ID changes when an item is moved into another store (for example, from your Inbox to a Microsoft Exchange Server public folder, or from one Personal Folders (.pst) file to another .pst file). Solutions should not depend on the EntryID property to be unique unless items will not be moved. The EntryID property returns a MAPI long-term entry ID.

Show:
© 2014 Microsoft