NavigationFolder Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a navigation folder displayed in a navigation group of a navigation module in the Navigation Pane.
public interface class NavigationFolder : Microsoft::Office::Interop::Outlook::_NavigationFolder
[System.Runtime.InteropServices.Guid("000630F2-0000-0000-C000-000000000046")]
public interface NavigationFolder : Microsoft.Office.Interop.Outlook._NavigationFolder
Public Interface NavigationFolder
Implements _NavigationFolder
- 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 _NavigationFolder.
Use the Item[Object] property (this in C#) to retrieve a NavigationFolder object from the NavigationFolders collection of the parent NavigationGroup object. Use the Add(MAPIFolder) method of the NavigationFolders collection to create a new NavigationFolder object based on an existing Folder object.
Use the Folder method to return or set the Folder object on which the NavigationFolder object is based.
Use the IsSelected property to determine if the navigation folder is selected and the Position property to return or set the display position of the navigation folder within the Navigation Pane. You can also use the DisplayName property to return the display name of the navigation folder within the Navigation Pane.
Use the IsRemovable property to determine if a navigation folder can be removed from the NavigationFolders collection and the IsSideBySide property to return or set the viewing mode for a navigation folder associated with a CalendarModule object.
Properties
Application |
Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _NavigationFolder) |
Class |
Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _NavigationFolder) |
DisplayName |
Returns a String (string in C#) representing the display name of the NavigationFolder object. Read-only. (Inherited from _NavigationFolder) |
Folder |
Returns a Folder object that represents the shared or linked folder associated with the navigation folder. Read-only. (Inherited from _NavigationFolder) |
IsRemovable |
Returns a Boolean value (bool in C#) that indicates whether the NavigationFolder object can be removed from the Navigation Pane. Read-only. (Inherited from _NavigationFolder) |
IsSelected |
Returns or sets a Boolean variable (bool in C#) that indicates whether the NavigationFolder object is selected for display. Read/write. (Inherited from _NavigationFolder) |
IsSideBySide |
Returns or sets a Boolean value (bool in C#) that indicates whether the NavigationFolder object is displayed in side-by-side or overlay mode. Read/write. (Inherited from _NavigationFolder) |
Parent |
Returns the parent Object of the specified object. Read-only. (Inherited from _NavigationFolder) |
Position |
Returns or sets an Integer value that represents the ordinal position of the NavigationFolder object when displayed in the Navigation Pane. Read/write. (Inherited from _NavigationFolder) |
Session |
Returns the NameSpace object for the current session. Read-only. (Inherited from _NavigationFolder) |