Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.04 KB

Outlook.DocumentItem.Session.md

File metadata and controls

46 lines (27 loc) · 1.04 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
DocumentItem.Session property (Outlook)
vbaol11.chm1181
vbaol11.chm1181
Outlook.DocumentItem.Session
40c7d5d6-2efd-f946-bc2b-273209c6c896
06/08/2017
medium

DocumentItem.Session property (Outlook)

Returns the NameSpace object for the current session. Read-only.

Syntax

expression.Session

expression A variable that represents a DocumentItem object.

Remarks

The Session property and the GetNamespace method can be used interchangeably to obtain the NameSpace object for the current session. Both members serve the same purpose. For example, the following statements do the same function:

Set objNamespace = Application.GetNamespace("MAPI") 
Set objSession = Application.Session

See also

DocumentItem Object

[!includeSupport and feedback]