SPUserCodePropertyCollection.OnInsert method

Called when a SPUserCodeProperty is added to the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Protected Overrides Sub OnInsert ( _
    index As Integer, _
    value As Object _
Dim index As Integer
Dim value As Object

Me.OnInsert(index, value)
protected override void OnInsert(
    int index,
    Object value


  • index
    Type: System.Int32

    The zero-based index where the property object is added to the collection.

  • value
    Type: System.Object

    The property object that is added to the collection.


This override sets the flag that indicates that one or more properties in the collection have not been validated.

See also


SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Microsoft.SharePoint.WebPartPages namespace