Share via


_SolutionsModule.Position Property

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.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property Position As Integer
    Get
    Set
'Usage
Dim instance As _SolutionsModule
Dim value As Integer

value = instance.Position

instance.Position = value
[DispIdAttribute()]
int Position { get; set; }

Property Value

Type: System.Int32

Remarks

This property can only be set to a value between 1 and 9. An error occurs if you attempt to set this property to a value outside that range. If no solutions exist in the Solutions module, setting or getting the Position property also raises an error.

Changing the value of this property for a given SolutionsModule object changes the Position values of other navigation modules in a NavigationModules collection, depending on the relative change between the new value and the original value.

  • If the new value is less than the original value, the specified SolutionsModule object moves up to the new position and the other navigation modules that are already at or below that new position move down.

  • If the new value is greater than the original value, the specified SolutionsModule object moves down to the new position and the other navigation modules that are between the old position and the new position move up, filling the old position.

See Also

Reference

_SolutionsModule Interface

_SolutionsModule Members

Microsoft.Office.Interop.Outlook Namespace