Share via


SPImportObjectCollection constructor (Int32)

Creates a new instance of the SPImportObjectCollection class and provides an integer value that specifies the number of items that the collection is able to contain initially.

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

Syntax

'Declaration
Public Sub New ( _
    capacity As Integer _
)
'Usage
Dim capacity As Integer

Dim instance As New SPImportObjectCollection(capacity)
public SPImportObjectCollection(
    int capacity
)

Parameters

  • capacity
    Type: System.Int32

    The number of objects that the collection is able to contain initially.

See also

Reference

SPImportObjectCollection class

SPImportObjectCollection members

SPImportObjectCollection overload

Microsoft.SharePoint.Deployment namespace