SPUserCodePropertyCollection.OnInsert Method

Called when a SPUserCodeProperty is added to the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub OnInsert ( _
    index As Integer, _
    value As Object _
)
'Usage
Dim index As Integer
Dim value As Object

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

Parameters

  • 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.

Remarks

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

See Also

Reference

SPUserCodePropertyCollection Class

SPUserCodePropertyCollection Members

Microsoft.SharePoint.WebPartPages Namespace