TaxonomyField Constructor (SPFieldCollection, String, String)
Initializes a new instance of the TaxonomyField object that is based on the specified field collection, type name, and display name.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.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 TaxonomyField(fields, _
typeName, displayName)
public TaxonomyField(
SPFieldCollection fields,
string typeName,
string displayName
)
Parameters
fields
Type: Microsoft.SharePoint.SPFieldCollectionAn SPFieldCollection object that represents the parent field collection.
typeName
Type: System.StringA string that contains the type name
displayName
Type: System.StringA string that contains the display name of the field