編輯

共用方式為


NavigationGroup Interface

Definition

Represents a navigation group displayed by a navigation module in the Navigation Pane.

public interface class NavigationGroup : Microsoft::Office::Interop::Outlook::_NavigationGroup
[System.Runtime.InteropServices.Guid("000630F0-0000-0000-C000-000000000046")]
public interface NavigationGroup : Microsoft.Office.Interop.Outlook._NavigationGroup
Public Interface NavigationGroup
Implements _NavigationGroup
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 _NavigationGroup.

Use the Item[Object] property (this in C#) to retrieve a NavigationGroup object from the NavigationGroups collection of a parent navigation module, such as a MailModule object. Use the Create(String) method of the NavigationGroups collection to create a new NavigationGroup object.

Use the GroupType property to determine the group type of the navigation group and the Position property to return or set the display position of the navigation group within the Navigation Pane. You can also use the Name property to return or set the display name of the navigation group within the Navigation Pane.

Use the NavigationFolders property to return a NavigationFolders object containing the navigation folders for the specified navigation group.

Properties

Application

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

(Inherited from _NavigationGroup)
Class

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

(Inherited from _NavigationGroup)
GroupType

Returns an OlGroupType constant that indicates the group type for the NavigationGroup object. Read-only.

(Inherited from _NavigationGroup)
Name

Returns or sets a String (string in C#) value that represents the display name for the NavigationGroup object. Read/write.

(Inherited from _NavigationGroup)
NavigationFolders

Returns a NavigationFolders object that contains the set of navigation folders associated with the NavigationGroup object. Read-only.

(Inherited from _NavigationGroup)
Parent

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

(Inherited from _NavigationGroup)
Position

Returns or sets an Integer (int in C#) value that represents the ordinal position of the NavigationGroup object when displayed in the Navigation Pane. Read/write.

(Inherited from _NavigationGroup)
Session

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

(Inherited from _NavigationGroup)

Applies to