OnAdding Method

Called when an object is about to be added to the collection.

Namespace:  Microsoft.Rtc.Workflow.Utilities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Protected Overridable Sub OnAdding ( _
    index As Integer, _
    item As T _
)
protected virtual void OnAdding(
    int index,
    T item
)
protected:
virtual void OnAdding(
    int index, 
    T item
)
function onAdding(index, item);

Parameters

  • index
    Type: Int32
    The position where the object will be added.
  • item
    Type: T
    The object added to the collection.

See Also

BaseCollection<(Of <(T>)>) Class

Microsoft.Rtc.Workflow.Utilities Namespace