Compartilhar via


SPWebPartCollection.IList.Add method

NOTE: This API is now obsolete.

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

Syntax

'Declaração
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Private Function Add ( _
    value As Object _
) As Integer Implements IList.Add
'Uso
Dim instance As SPWebPartCollection
Dim value As Object
Dim returnValue As Integer

returnValue = CType(instance, IList).Add(value)
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
intIList.Add(
    Object value
)

Parâmetros

Valor retornado

Type: System.Int32

Implements

IList.Add(Object)

Ver também

Referência

SPWebPartCollection class

SPWebPartCollection members

Microsoft.SharePoint namespace