'Declaration Public Shared Function CreateSetItemEventArgs( _
ByVal indexIndex at which the item was set into the collection.As System.Int32, _
ByVal oldValueValue of old item.As T, _
ByVal newValueValue of new item.As T _
) As CollectionChangeEventArgs(Of T)
public static CollectionChangeEventArgs<T> CreateSetItemEventArgs(
System.Int32 index,
T oldValue,
T newValue
)
public: static CollectionChangeEventArgs<T*>* CreateSetItemEventArgs(
System.Int32 index,
T* oldValue,
T* newValue
)
public:
static CollectionChangeEventArgs<T^>^ CreateSetItemEventArgs(
System.Int32 index,
T^ oldValue,
T^ newValue
)
Parameters
- index
- Index at which the item was set into the collection.
- oldValue
- Value of old item.
- newValue
- Value of new item.
Return Value
An instance of the CollectionChangeEventArgs<T> class for CollectionChangeActionType.SetItem action.