Partager via


_NameSpace.GetFolderFromID Method

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

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

Syntax

'Declaration
<DispIdAttribute()> _
Function GetFolderFromID ( _
    EntryIDFolder As String, _
    EntryIDStore As Object _
) As MAPIFolder
'Usage
Dim instance As _NameSpace
Dim EntryIDFolder As String
Dim EntryIDStore As Object
Dim returnValue As MAPIFolder

returnValue = instance.GetFolderFromID(EntryIDFolder, _
    EntryIDStore)
[DispIdAttribute()]
MAPIFolder GetFolderFromID(
    string EntryIDFolder,
    Object EntryIDStore
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Outlook.MAPIFolder
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.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Select a Folder and Display Folder Information