Share via


Variations.UpdateListItems method

Copies the content of the selected items into all variation labels that the list is nominated to.

Namespace:  Microsoft.SharePoint.Client.Publishing
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

Syntax

'Declaration
Public Shared Sub UpdateListItems ( _
    context As ClientRuntimeContext, _
    listId As Guid, _
    itemIds As Integer() _
)
'Usage
Dim context As ClientRuntimeContext
Dim listId As Guid
Dim itemIds As Integer()

Variations.UpdateListItems(context, listId, _
    itemIds)
public static void UpdateListItems(
    ClientRuntimeContext context,
    Guid listId,
    int[] itemIds
)

Parameters

  • listId
    Type: System.Guid

    Identifies the list that contains the items referenced in the itemIds parameter.

  • itemIds
    Type: []

    An array of list item identifiers to update in the target labels that this list is nominated to.

Remarks

When a variation is created, the entire hierarchy of Web sites is copied to the new variation for translation. Lists are excluded unless a user nominates them to the new variation. Items in lists that are nominated are updated by this method.

See also

Reference

Variations class

Variations members

Microsoft.SharePoint.Client.Publishing namespace