Share via


ContentTypeIdFieldType constructor (SPFieldCollection, String)

Initializes a new instance of the ContentTypeIdFieldType class.

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 ContentTypeIdFieldType(fields, _
    fieldName)
public ContentTypeIdFieldType(
    SPFieldCollection fields,
    string fieldName
)

Parameters

See also

Reference

ContentTypeIdFieldType class

ContentTypeIdFieldType members

ContentTypeIdFieldType overload

Microsoft.SharePoint.Publishing.Fields namespace