編輯

共用方式為


NavigationModules Interface

Definition

Contains a read-only set of NavigationModule objects that represent the navigation modules displayed by the Navigation Pane.

public interface class NavigationModules : Microsoft::Office::Interop::Outlook::_NavigationModules
[System.Runtime.InteropServices.Guid("000630E7-0000-0000-C000-000000000046")]
public interface NavigationModules : Microsoft.Office.Interop.Outlook._NavigationModules
Public Interface NavigationModules
Implements _NavigationModules
Derived
Attributes
Implements

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 _NavigationModules.

Use the Modules property of the NavigationPane object to return a NavigationModules object.

Use the Item[Object] property (this in C#) to retrieve a NavigationModule object by either the name or ordinal position of the navigation module within the collection, or use the GetNavigationModule(OlNavigationModuleType) method to return a NavigationModule object by the navigation module type.

Use the Count property to return the number of navigation modules contained in the Navigation Pane.

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _NavigationModules)
Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _NavigationModules)
Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

(Inherited from _NavigationModules)
Item[Object]

Returns a NavigationModule object from the collection.

(Inherited from _NavigationModules)
Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _NavigationModules)
Session

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

(Inherited from _NavigationModules)

Methods

GetNavigationModule(OlNavigationModuleType)

Retrieves a NavigationModule object with the specified navigation module type from the Navigation Pane.

(Inherited from _NavigationModules)

Applies to