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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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