_NameSpace.GetFolderFromID(String, Object) Method

Definition

Returns a Folder object identified by the specified entry ID (if valid).

public Microsoft.Office.Interop.Outlook.MAPIFolder GetFolderFromID (string EntryIDFolder, object EntryIDStore);
Public Function GetFolderFromID (EntryIDFolder As String, Optional EntryIDStore As Object) As MAPIFolder

Parameters

EntryIDFolder
String

The EntryID of the folder.

EntryIDStore
Object

The StoreID for the folder.

Returns

AFolder object that represents the specified folder.

Remarks

This method is used for ease of transition between MAPI and OLE/Messaging applications and Microsoft Outlook.

Applies to