(SPListItem, TaxonomyFieldValue) del método TaxonomyField.SetFieldValue
Sets the value of the corresponding field in the list item to the value of the specified TaxonomyFieldValue 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, _
taxValue As TaxonomyFieldValue _
)
'Uso
Dim instance As TaxonomyField
Dim item As SPListItem
Dim taxValue As TaxonomyFieldValue
instance.SetFieldValue(item, taxValue)
public void SetFieldValue(
SPListItem item,
TaxonomyFieldValue taxValue
)
Parámetros
item
Tipo: Microsoft.SharePoint.SPListItemThe SPListItem object whose field is to be updated.
taxValue
Tipo: Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueThe TaxonomyFieldValue object whose value is to be used to update this field.
Excepciones
Excepción | Condición |
---|---|
ArgumentException | One or more of the arguments to this method are una referencia null (Nothing en Visual Basic). |