Export (0) Print
Expand All

_Application.GetNamespace Method

Returns a NameSpace object of the specified type.

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

[DispIdAttribute()]
NameSpace GetNamespace(
	string Type
)

Parameters

Type
Type: System.String

The type of name space to return.

Return Value

Type: Microsoft.Office.Interop.Outlook.NameSpace
A NameSpace object that represents the specified namespace.

The only supported name space type is "MAPI". The GetNameSpace method is functionally equivalent to the Session property, which was introduced in Microsoft Outlook 98.

Show:
© 2015 Microsoft