SPUserCodePropertyCollection.OnSet method

Called when a SPUserCodeProperty in the collection is changed.

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

Syntax

'Declaration
Protected Overrides Sub OnSet ( _
    index As Integer, _
    oldValue As Object, _
    newValue As Object _
)
'Usage
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object

Me.OnSet(index, oldValue, newValue)
protected override void OnSet(
    int index,
    Object oldValue,
    Object newValue
)

Parameters

  • index
    Type: System.Int32

    The zero-based index at which the property object is changed.

  • oldValue
    Type: System.Object

    The old property object at the specified index in the collection before the change.

  • newValue
    Type: System.Object

    The new property object at the specified index in the collection after the change.

Remarks

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

See also

Reference

SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Microsoft.SharePoint.WebPartPages namespace