WebPartAdder.SelectorCollection.SetItem Method

Replaces the WebPartAdder.Selector object at the specified index.

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

Syntax

'Declaration
Protected Overrides Sub SetItem ( _
    index As Integer, _
    item As WebPartAdder.Selector _
)
'Usage
Dim index As Integer
Dim item As WebPartAdder.Selector

Me.SetItem(index, item)
protected override void SetItem(
    int index,
    WebPartAdder.Selector item
)

Parameters

Remarks

This override ensures that item is valid, and then calls the corresponding method of the base class to replace the WebPartAdder.Selector object at the specified index.

See Also

Reference

WebPartAdder.SelectorCollection Class

WebPartAdder.SelectorCollection Members

Microsoft.SharePoint.WebPartPages Namespace