指定的TaxonomyFieldValue对象的列表项的值中设置对应字段的值。
命名空间: Microsoft.SharePoint.Client.Taxonomy
程序集: Microsoft.SharePoint.Client.Taxonomy.Silverlight(位于 Microsoft.SharePoint.Client.Taxonomy.Silverlight.dll 中); Microsoft.SharePoint.Client.Taxonomy.Phone(位于 Microsoft.SharePoint.Client.Taxonomy.Phone.dll 中) Microsoft.SharePoint.Client.Taxonomy(位于 Microsoft.SharePoint.Client.Taxonomy.dll 中)
语法
声明
Public Sub SetFieldValueByValue ( _
item As ListItem, _
taxValue As TaxonomyFieldValue _
)
用法
Dim instance As TaxonomyField
Dim item As ListItem
Dim taxValue As TaxonomyFieldValue
instance.SetFieldValueByValue(item, taxValue)
public void SetFieldValueByValue(
ListItem item,
TaxonomyFieldValue taxValue
)
参数
item
类型:Microsoft.SharePoint.Client.ListItem要更新其字段SPListItem对象。
taxValue
类型:Microsoft.SharePoint.Client.Taxonomy.TaxonomyFieldValue用于更新此字段值TaxonomyFieldValue对象。
另请参阅
引用
Microsoft.SharePoint.Client.Taxonomy 命名空间
GetFieldValue