VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging Namespace / CollectionChangeEventArgs<T> Class / CreateSetItemEventArgs(Int32,T,T) Method
Syntax Requirements SeeAlso
In This Topic
    CreateSetItemEventArgs(Int32,T,T) Method (CollectionChangeEventArgs<T>)
    In This Topic
    Creates an instance of the CollectionChangeEventArgs<T> class for CollectionChangeActionType.SetItem action.
    Syntax
    'Declaration
    
    Public Shared Function CreateSetItemEventArgs( _
    ByVal index
    Index at which the item was set into the collection.
    As System.Int32, _
    ByVal oldValue
    Value of old item.
    As T, _
    ByVal newValue
    Value 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.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also