HtmlField Constructor (SPFieldCollection, String)
Initializes a new instance of the HtmlField object.
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.SPFieldCollectionThe collection of fields
fieldName
Type: System.StringThe name of the field to create from the SPFieldCollection object.