BaseCollection.OnItemsAdded Method (Int32, Object[])
Performs custom processes before an array of items is inserted into the collection or added to the end of the collection.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
protected virtual void OnItemsAdded(
int index,
object[] items
)
protected:
virtual void OnItemsAdded(
int index,
array<Object^>^ items
)
abstract OnItemsAdded :
index:int *
items:Object[] -> unit
override OnItemsAdded :
index:int *
items:Object[] -> unit
Protected Overridable Sub OnItemsAdded (
index As Integer,
items As Object()
)
Parameters
index
Type: System.Int32The zero-based index at which the array of items will be inserted.
items
Type: System.Object[]The array of items that will be inserted or added.
See Also
BaseCollection Class
Microsoft.ManagementConsole Namespace
Return to top