BaseCollection.OnInsert Method (Int32, Object)
Performs custom processes before inserting a new element into the collection.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
protected override void OnInsert(
int index,
object value
)
protected:
virtual void OnInsert(
int index,
Object^ value
) override
override OnInsert :
index:int *
value:Object -> unit
Protected Overrides Sub OnInsert (
index As Integer,
value As Object
)
Parameters
index
Type: System.Int32The zero-based index at which the item will be inserted.
value
Type: System.ObjectThe item that will be inserted.
See Also
BaseCollection Class
Microsoft.ManagementConsole Namespace
Return to top