PropertyValueCollection.SetIndex Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.Design.PropertyEditing
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustOverride Sub SetIndex ( _
    currentIndex As Integer, _
    newIndex As Integer _
)
'Usage
Dim instance As PropertyValueCollection
Dim currentIndex As Integer
Dim newIndex As Integer

instance.SetIndex(currentIndex, newIndex)
public abstract void SetIndex(
    int currentIndex,
    int newIndex
)
public:
virtual void SetIndex(
    int currentIndex, 
    int newIndex
) abstract
public abstract function SetIndex(
    currentIndex : int, 
    newIndex : int
)
abstract SetIndex : 
        currentIndex:int * 
        newIndex:int -> unit 

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 Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

PropertyValueCollection Class

PropertyValueCollection Members

System.Activities.Design.PropertyEditing Namespace