PropertyValueCollection.SetIndex Method
When overridden in a derived class, swaps the order of objects in the collection.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Sub SetIndex ( _
currentIndex As Integer, _
newIndex As Integer _
)
public abstract void SetIndex(
int currentIndex,
int newIndex
)
public:
virtual void SetIndex(
int currentIndex,
int newIndex
) abstract
abstract SetIndex :
currentIndex:int *
newIndex:int -> unit
public abstract function SetIndex(
currentIndex : int,
newIndex : int
)
Parameters
- currentIndex
Type: System.Int32
The index of the first object.
- newIndex
Type: System.Int32
The index of the second object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace