HtmlField Constructor (SPFieldCollection, String)
Standard public SPField object constructor.
Namespace: Microsoft.SharePoint.Publishing.Fields
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub New ( _
fields As SPFieldCollection, _
fieldName As String _
)
'Usage
Dim fields As SPFieldCollection
Dim fieldName As String
Dim instance As New HtmlField(fields, _
fieldName)
public HtmlField(
SPFieldCollection fields,
string fieldName
)
Parameters
- fields
Type: Microsoft.SharePoint.SPFieldCollection
Collection of fields
- fieldName
Type: System.String
Name of the field to create from the SPFieldCollection.