HtmlField constructor (SPFieldCollection, String, String)

Initializes a new instance of the HtmlField object for addition to a field collection.

Namespace:  Microsoft.SharePoint.Publishing.Fields
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub New ( _
    fields As SPFieldCollection, _
    typeName As String, _
    displayName As String _
)
'Usage
Dim fields As SPFieldCollection
Dim typeName As String
Dim displayName As String

Dim instance As New HtmlField(fields, _
    typeName, displayName)
public HtmlField(
    SPFieldCollection fields,
    string typeName,
    string displayName
)

Parameters

  • typeName
    Type: System.String

    The name of the type of new field to add.

  • displayName
    Type: System.String

    The display name for the new field.

See also

Reference

HtmlField class

HtmlField members

HtmlField overload

Microsoft.SharePoint.Publishing.Fields namespace

HtmlField