Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Generates the SPFieldCollection object with the provided SPField objects.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Function CreateSimpleItemFieldsSchema ( _
collectionOfFields As ICollection(Of SPField) _
) As SPFieldCollection
'Usage
Dim instance As SimpleItemForm
Dim collectionOfFields As ICollection(Of SPField)
Dim returnValue As SPFieldCollection
returnValue = instance.CreateSimpleItemFieldsSchema(collectionOfFields)
public SPFieldCollection CreateSimpleItemFieldsSchema(
ICollection<SPField> collectionOfFields
)
Parameters
collectionOfFields
Type: System.Collections.Generic.ICollection<SPField>The [T:System.Collections.Generic,ICollection{Microsoft.SharePoint.SPField}] object that contains the fields on which the SPFieldCollection will be built.
Return Value
Type: Microsoft.SharePoint.SPFieldCollection
The SPFieldCollection object that is built on the provided [T:System.Collections.Generic,ICollection{Microsoft.SharePoint.SPField}] object.
Remarks
This method creates the Collaborative Application Markup Language (CAML) schema string for the specified fields, from which the SPFieldCollection object for rendering the field form is generated.