_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
EntryIDFolder
Type: System.StringThe EntryID of the folder.
EntryIDStore
Type: System.ObjectThe StoreID for the folder.
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
Microsoft.Office.Interop.Outlook Namespace