SPFieldCallTo Constructor (SPFieldCollection, String, String)
Initializes a new instance of a SPFieldCallTo class based on the typeName, and fieldName parameters. This constructor is for creating new field that does not exist in the [Microsoft.SharePoint.SPFieldCollection].
Namespace: Microsoft.SharePoint.Applications.GroupBoard
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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 SPFieldCallTo(fields, _
typeName, displayName)
public SPFieldCallTo(
SPFieldCollection fields,
string typeName,
string displayName
)
Parameters
fields
Type: Microsoft.SharePoint.SPFieldCollectionThe [Microsoft.SharePoint.SPFieldCollection] collection that contains the new SPField instances.
typeName
Type: System.StringThe internal name of the new SPField instance.
displayName
Type: System.StringThe display name of the new SPField instance.