Export (0) Print
Expand All

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)

public SPFieldCollection(
	SPWeb web,
	string strXml
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb

The parent website.

strXml
Type: System.String

A Collaborative Application Markup Language (CAML) string that contains the schema.

Show:
© 2014 Microsoft