TaxonomyField.SetFieldValueByValue 方法
設定清單項目] 的值,指定的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.ListItemSPListItem物件的欄位會更新。
taxValue
類型:Microsoft.SharePoint.Client.Taxonomy.TaxonomyFieldValue值會用來更新此欄位TaxonomyFieldValue物件。
請參閱
參照
Microsoft.SharePoint.Client.Taxonomy 命名空間
GetFieldValue