Compartir a través de


(SPListItem, TaxonomyFieldValueCollection) del método TaxonomyField.SetFieldValue

Sets the value of the corresponding multi-valued field in the list item to the value of the specified TaxonomyFieldValueCollection object.

Espacio de nombres:  Microsoft.SharePoint.Taxonomy
Ensamblado:  Microsoft.SharePoint.Taxonomy (en Microsoft.SharePoint.Taxonomy.dll)

Sintaxis

'Declaración
Public Sub SetFieldValue ( _
    item As SPListItem, _
    taxValueCollection As TaxonomyFieldValueCollection _
)
'Uso
Dim instance As TaxonomyField
Dim item As SPListItem
Dim taxValueCollection As TaxonomyFieldValueCollection

instance.SetFieldValue(item, taxValueCollection)
public void SetFieldValue(
    SPListItem item,
    TaxonomyFieldValueCollection taxValueCollection
)

Parámetros

Excepciones

Excepción Condición
ArgumentException

One or more of the arguments to this method are una referencia null (Nothing en Visual Basic).

NotSupportedException

The field is not multi-valued.

Vea también

Referencia

clase TaxonomyField

Miembros TaxonomyField

Sobrecarga SetFieldValue

Espacio de nombres Microsoft.SharePoint.Taxonomy

GetFieldValue

TaxonomyFieldValueCollection

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint