TaxonomyFieldValue Constructor (SPField)
Initializes a new instance of a TaxonomyFieldValue object that is bound to the specified SharePointSPField object.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Sub New ( _
creatingField As SPField _
)
'Usage
Dim creatingField As SPField
Dim instance As New TaxonomyFieldValue(creatingField)
public TaxonomyFieldValue(
SPField creatingField
)
Parameters
creatingField
Type: Microsoft.SharePoint.SPFieldThe TaxonomyField object that the current [TaxonomyFieldValue] object is bound to
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The creatingField parameter is a null reference (Nothing in Visual Basic) or not of type TaxonomyField. |