SPRelatedField.ListId property

Gets the identifier of the child list that is dependent on the parent list.

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

Syntax

'Declaration
Public ReadOnly Property ListId As Guid
    Get
'Usage
Dim instance As SPRelatedField
Dim value As Guid

value = instance.ListId
public Guid ListId { get; }

Property value

Type: System.Guid
The value of the ID property of the dependent list.

Remarks

The list that is identified by the ListId property has lookup fields that point to fields in the list represented by the LookupList property.

See also

Reference

SPRelatedField class

SPRelatedField members

Microsoft.SharePoint namespace

SPFieldLookup

ID