Share via


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

  • fieldName
    Type: System.String
    Name of the field to create from the SPFieldCollection.

See Also

Reference

HtmlField Class

HtmlField Members

HtmlField Overload

Microsoft.SharePoint.Publishing.Fields Namespace

HtmlField