SPFieldCollection constructor

Initializes a new instance of the SPFieldCollection class based on the specified website and schema.

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

Syntax

'Declaration
Public Sub New ( _
    web As SPWeb, _
    strXml As String _
)
'Usage
Dim web As SPWeb
Dim strXml As String

Dim instance As New SPFieldCollection(web, strXml)
public SPFieldCollection(
    SPWeb web,
    string strXml
)

Parameters

See also

Reference

SPFieldCollection class

SPFieldCollection members

Microsoft.SharePoint namespace