pmMDA.NET

IndexedPropertyChangedEventArgs Constructor 

[This is preliminary documentation and subject to change.]

Initializes a new instance of the IndexedPropertyChangedEventArgs class.

public IndexedPropertyChangedEventArgs(
   IDataObject owner,
   string propertyName,
   IndexedPropertyAction action,
   IDataObject[] items,
   int[] indices
);

Parameters

owner
The data object that owns the changed indexed property.
propertyName
The name of the changed property.
action
Specifies whether the items were added, inserted, removed or replaced.
items
The added, inserted, removed or replaced items.
indices
The indices of the inserted, removed or replaced item if available; otherwise, null.

Exceptions

Exception Type Condition
ArgumentNullException The owner is a null reference.
.
- or -
The propertyName is a null reference.
.
- or -
items is a null reference.
- or -
The action is Set or Inserted and the indices is a null reference.
ArgumentOutOfRangeException The action is Added and the indices is not a null reference.
- or -
The indices is not a null reference and the length of the items and the length of the indices is not equal.

See Also

IndexedPropertyChangedEventArgs Class | PmMda.Net.Dog Namespace