_NavigationGroup.Position Property
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.
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.
public:
property int Position { int get(); void set(int value); };
public int Position { get; set; }
Public Property Position As Integer
Property Value
Remarks
This property can only be set to a value between 1 and the value of the Count property for the parent NavigationGroups object. An error occurs if you attempt to set this property to a value outside that range.
Changing the value of this property for a NavigationGroup object changes the Position values of other navigation groups contained by a NavigationGroups collection, depending on the relative change between the new value and the original value of the Position property for that NavigationGroup object:
If the navigation group is not on the Navigation Pane, then this property returns -1.