Partilhar via


BaseCollection<T>.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 _
)
'Usage
Dim index As Integer
Dim item As T

Me.OnAdding(index, item)
protected virtual void OnAdding(
    int index,
    T item
)

Parameters

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

See Also

Reference

BaseCollection<T> Class

BaseCollection<T> Members

Microsoft.Rtc.Workflow.Utilities Namespace