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
fields
Type: Microsoft.SharePoint.SPFieldCollectionCollection of fields into which to add the newly constructed ContentTypeIdFieldTypeobject.
fieldName
Type: System.StringName of the field to create.
See Also
Reference
ContentTypeIdFieldType Members