Share via


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

  • xmlData
    Type: System.String

    The values of the fields in XML format.

See also

Reference

SPSimpleItem class

SPSimpleItem members

SPSimpleItem overload

Microsoft.SharePoint namespace