SPSimpleItem constructor (SPFieldCollection, String)
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, _
xmlData As String _
)
'Usage
Dim fieldCollection As SPFieldCollection
Dim xmlData As String
Dim instance As New SPSimpleItem(fieldCollection, _
xmlData)
public SPSimpleItem(
SPFieldCollection fieldCollection,
string xmlData
)
Parameters
fieldCollection
Type: Microsoft.SharePoint.SPFieldCollectionThe fields associated with the SPSimpleItem object.
xmlData
Type: System.StringThe values of the fields in XML format.