SummaryLinkField Constructor (SPFieldCollection, String)
Initializes a new instance of the SummaryLinkField 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 SummaryLinkField(fields, _
fieldName)
public SummaryLinkField(
SPFieldCollection fields,
string fieldName
)
Parameters
fields
Type: Microsoft.SharePoint.SPFieldCollectionCollection of fields into which to add the newly constructed SummaryLinkField object.
fieldName
Type: System.StringName of the field to create.
Remarks
The new instance is initialized with the specified field name and added to the SPFieldCollection object specified by the fields parameter.