Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

_TasksModule.Position property

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

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

[DispIdAttribute()]
int Position { get; set; }

Property value

Type: System.Int32

This property can only be set to a value between 1 and 8. An error occurs if you attempt to set this property to a value outside that range.

Changing the value of this property for a TasksModule object changes the Position values of other navigation modules contained by a NavigationModules collection, depending on the relative change between the new value and the original value of the Position property for that TasksModule object:

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

  • If the new value is greater than the original value, then the specified TasksModule object moves down to the new position and pushes the other navigation modules between the old position and the new position up, filling the old position.

Show:
© 2015 Microsoft