NameSpace Interface
Represents an abstract root object for any data source.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<CoClassAttribute(GetType(NameSpaceClass))> _
<GuidAttribute("00063002-0000-0000-C000-000000000046")> _
Public Interface NameSpace _
Inherits _NameSpace, NameSpaceEvents_Event
'Usage
Dim instance As NameSpace
[CoClassAttribute(typeof(NameSpaceClass))]
[GuidAttribute("00063002-0000-0000-C000-000000000046")]
public interface NameSpace : _NameSpace,
NameSpaceEvents_Event
Remarks
This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _NameSpace. For information about the event members of the COM object, see NameSpaceEvents_Event.
The object itself provides methods for logging in and out, accessing storage objects directly by ID, accessing certain special default folders directly, and accessing data sources owned by other users.
Use GetNamespace ("MAPI") to return the Outlook NameSpace object from the Application object.
The only data source supported is MAPI, which allows access to all Outlook data stored in the user's mail stores.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace