SummaryLinkField Constructor (SPFieldCollection, String, 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, _
typeName As String, _
displayName As String _
)
'Usage
Dim fields As SPFieldCollection
Dim typeName As String
Dim displayName As String
Dim instance As New SummaryLinkField(fields, _
typeName, displayName)
public SummaryLinkField(
SPFieldCollection fields,
string typeName,
string displayName
)
Parameters
- fields
Type: Microsoft.SharePoint.SPFieldCollection
Collection of fields into which to add the newly constructed SummaryLinkField object.
- typeName
Type: System.String
Name of the type of new field to add.
- displayName
Type: System.String
Display name for the new field.
Remarks
The new instance is initialized with the specified type and display names and added to the SPFieldCollection object specified by the fields parameter.