PublishingCatalogSourceField constructor (SPFieldCollection, String)
Initializes a new instance of a PublishingCatalogSourceField in a SPFieldCollection object by using a standard public SPField object’s constructor.
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 PublishingCatalogSourceField(fields, _
fieldName)
public PublishingCatalogSourceField(
SPFieldCollection fields,
string fieldName
)
Parameters
fields
Type: Microsoft.SharePoint.SPFieldCollectionCollection of fields.
fieldName
Type: System.StringName of the field to create from the SPFieldCollection object.
See also
Reference
PublishingCatalogSourceField class
PublishingCatalogSourceField members