SolutionsModule 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 the Solutions navigation module in the Navigation Pane of an explorer.
public interface class SolutionsModule : Microsoft::Office::Interop::Outlook::_SolutionsModule
[System.Runtime.InteropServices.Guid("000630FF-0000-0000-C000-000000000046")]
public interface SolutionsModule : Microsoft.Office.Interop.Outlook._SolutionsModule
Public Interface SolutionsModule
Implements _SolutionsModule
- 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 _SolutionsModule.
The Solutions navigation module contains folders that developers of individual add-ins want to expose to users in the Navigation Pane. Each solution has one root folder under the Solutions module, and each root folder can contain subfolders that hold heterogeneous Outlook items.
To add solution folders programmatically to the Solutions module, use the SolutionsModule object, which is derived from the NavigationModule object.
To obtain an object for the Solutions module, you must first determine whether the Solutions module exists in the Navigation Pane. To do that, use the Modules property for the NavigationPane object to obtain a NavigationModules collection, and then specify the argument olModuleSolutions in the GetNavigationModule(OlNavigationModuleType) method of the NavigationModules collection.
If the call is successful, you can then cast the returned NavigationModule object reference as a SolutionsModule object to access the properties and methods for that navigation module.
To add a solution root folder and its subfolders, pass a Folder object reference to the AddSolution(MAPIFolder, OlSolutionScope) method of the SolutionsModule object. The default position of the Solutions module on the Navigation Pane is '9'.
If no solutions have been added to the Solutions module, it is not visible in the Navigation Pane, and any attempt to set the Position or the Visible properties of the SolutionsModule object raises an error. In addition, any attempt to set the SolutionsModule as the CurrentModule property of the NavigationPane object raises an error.
Properties
Application |
Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _SolutionsModule) |
Class |
Returns an OlObjectClass constant that indicates the object's class. Read-only. (Inherited from _SolutionsModule) |
Name |
Returns a String value (string in C#) that represents the localized display name for the SolutionsModule object. Read-only. (Inherited from _SolutionsModule) |
NavigationModuleType |
Returns an OlNavigationModuleType constant that represents the navigation module type for the SolutionsModule object. Read-only. (Inherited from _SolutionsModule) |
Parent |
Returns the parent Object (object in C#) of the specified SolutionsModule object. Read-only. (Inherited from _SolutionsModule) |
Position |
Returns or sets an Integer (int in C#) that represents the ordinal position of the SolutionsModule object when it is displayed in the NavigationPane. Read/write. (Inherited from _SolutionsModule) |
Session |
Returns the NameSpace object for the current session. Read-only. (Inherited from _SolutionsModule) |
Visible |
Returns or sets a Boolean (bool in C#) value that indicates whether the Solutions module is displayed in the Navigation Pane. Read/write. (Inherited from _SolutionsModule) |
Methods
AddSolution(MAPIFolder, OlSolutionScope) |
Adds a solution root folder and its subfolders to the SolutionsModule module. (Inherited from _SolutionsModule) |