SPBusinessDataField Constructor (SPFieldCollection, String, String)
Initializes a new instance of the SPBusinessDataField class based on the specified field collection, field name, and display name for the field.
Namespace: Microsoft.SharePoint
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 SPBusinessDataField(fields, _
typeName, displayName)
public SPBusinessDataField(
SPFieldCollection fields,
string typeName,
string displayName
)
Parameters
fields
Type: Microsoft.SharePoint.SPFieldCollectionThe field collection in which this field is created.
typeName
Type: System.StringThe name of the field type definition, such as SPFieldType.Text.ToString().
displayName
Type: System.StringThe display name of the new field.