다음을 통해 공유


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

  • typeName
    Type: System.String

    A string that contains the type name

  • displayName
    Type: System.String

    A string that contains the display name of the field

See Also

Reference

TaxonomyField Class

TaxonomyField Members

TaxonomyField Overload

Microsoft.SharePoint.Taxonomy Namespace

TaxonomyFieldValue

Microsoft.SharePoint.Taxonomy

SPField

Microsoft.SharePoint