Share via


SPWebPartCollection.IList.Insert Method

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Private Sub Insert ( _
    index As Integer, _
    value As Object _
) Implements IList.Insert
'Usage
Dim instance As SPWebPartCollection
Dim index As Integer
Dim value As Object

CType(instance, IList).Insert(index, _
    value)
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
void IList.Insert(
    int index,
    Object value
)

Parameters

Implements

IList.Insert(Int32, Object)

See Also

Reference

SPWebPartCollection Class

SPWebPartCollection Members

Microsoft.SharePoint Namespace