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
web
Type: Microsoft.SharePoint.SPWebThe parent website.
strXml
Type: System.StringA Collaborative Application Markup Language (CAML) string that contains the schema.