SPSimpleItem constructor (SPFieldCollection, Object[])
Initializes a new instance of the SPSimpleItem class with the specified fields and their values.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
fieldCollection As SPFieldCollection, _
itemData As Object() _
)
'Usage
Dim fieldCollection As SPFieldCollection
Dim itemData As Object()
Dim instance As New SPSimpleItem(fieldCollection, _
itemData)
public SPSimpleItem(
SPFieldCollection fieldCollection,
Object[] itemData
)
Parameters
fieldCollection
Type: Microsoft.SharePoint.SPFieldCollectionThe fields associated with the SPSimpleItem object.
itemData
Type: []The values of the fields.