This documentation is archived and is not being maintained.

SPFieldCollection Constructor

Windows SharePoint Services 3

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

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

public SPFieldCollection(
	SPWeb web,
	string strXml
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the parent Web site.
strXml
Type: System.String
A Collaborative Application Markup Language (CAML) string that contains the schema.
Show: