PropertyValueCollection.SetIndex Method (Int32, Int32)

.NET Framework (current version)
 

Recalculates the indexes in a collection of PropertyValue objects after an existing item is moved to a new position in the collection.

Namespace:   System.Activities.Presentation.PropertyEditing
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public abstract void SetIndex(
	int currentIndex,
	int newIndex
)

Parameters

currentIndex
Type: System.Int32

The current position index of the object in the collection.

newIndex
Type: System.Int32

The index position to which the item is moved.

.NET Framework
Available since 4.0
Return to top
Show: