Share via


SPFieldWhereabout constructor (SPFieldCollection, String, String)

Initializes a new instance of the SPFieldWhereabout class based on the specified type and display name. Intended use of this constructor is creation of a field that does not currently exist in the field collection.

Namespace:  Microsoft.SharePoint.Applications.GroupBoard
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.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 SPFieldWhereabout(fields, _
    typeName, displayName)
public SPFieldWhereabout(
    SPFieldCollection fields,
    string typeName,
    string displayName
)

Parameters

  • typeName
    Type: System.String

    A string representation of the field type.

  • displayName
    Type: System.String

    A string representation of the display name of the field.

See also

Reference

SPFieldWhereabout class

SPFieldWhereabout members

SPFieldWhereabout overload

Microsoft.SharePoint.Applications.GroupBoard namespace