SPWebPartCollection.IList.Add Method
NOTE: This API is now obsolete.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Private Function Add ( _
value As Object _
) As Integer Implements IList.Add
'Usage
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
)
Parameters
- value
Type: System.Object
Return Value
Type: System.Int32