Partager via


ChangeItem.ListId Property

Gets a value that identifies the list that contains the changed item.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ListId As Guid
    Get
'Usage
Dim instance As ChangeItem
Dim value As Guid

value = instance.ListId
[RemoteAttribute]
public Guid ListId { get; }

Property Value

Type: System.Guid
Returns a Guid instance representing the identification of the list that contains the changed item.

Exceptions

Exception Condition
[System.NotSupportedException]

The list identifier in the change fields item of the change collection is a null reference (Nothing in Visual Basic). Error code: -1.

Remarks

In the case of a change that includes moving the item between lists, ListId must contain the value it had before the move.

See Also

Reference

ChangeItem Class

ChangeItem Members

Microsoft.SharePoint.Client Namespace